Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>byte *pascal getresource(word hmodule, word idtype, word idname)</b> http://www.X-Hacker.org [<<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.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson