Resource library RsrcGaddr() Sliders library
Programming guideline of WinDom

RsrcGhdr()

NAME

RsrcGhdr - return header of a resource.

PROTOTYPAGE

rscHDR *RsrcGaddr( void *rsc);

PARAMETERS

rsc:
resource targeted,

return:
header address of resource or NULL if error occurs.

DESCRIPTION

RsrcGhdr() returns the header of a resource. The header is a structure containing some information about resource :

     typedef struct {
     	long		nobs;	/* number of OBJECT items */
     	long		ntree;	/* number of tree OBJECT */
     	long		nted;	/* number of TEDINFO items */
     	long		ncib;	/* number of CICON items */
     	long		nib;
     	long		nbb;
     	long		nfstr;  /* number of string items */
     	long		nfimg;  /* number of IMAGE items */
     	OBJECT		*object; /* address of OBJECTS */
     	TEDINFO		*tedinfo; /* address of TEDINFO */
     	ICONBLK		*iconblk; /* address of ICONBLK */
     	BITBLK		*bitblk;  /* address of BITBLK */
     	CICON		*cicon;   /* address of CICON */
     	CICONBLK	*ciconblk; /* address of CICONBLK */
     	char		**frstr;
     	BITBLK		**frimg;
     	OBJECT		**trindex;  /* address of tree OBJECTS */
     }	rscHDR;
SEE ALSO

RsrcXload()