[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
BYTE *pascal GetResource(WORD hModule, WORD idType, WORD idName)
Low level function for loading in a particular resource from a
resource file. This function should generally not be needed in an
application as the Loadxxx() functions should suffice.
Parameters
hModule is the handle of the opened resource file.
idType is the type of resource to load. It can be on of the following:
RT_MENU
RT_DIALOG
RT_STRING
RT_ACCELTABLE
idName is the identifier of the particular object which you want to load.
Returns
A pointer to the loaded resource if successful, NULL if not. The
pointer is to a malloc()'ed area of memory, and can be free()'ed when
you no longer need it.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson