LPCSTR MAKEINTRESOURCE(idResource) | |||||
WORD idResource; | /* resource identifier to convert | */ |
The MAKEINTRESOURCE macro converts an integer resource identifier into a value compatible with Windows resource-management functions. This macro is used in place of a string containing the name of the resource.
idResource
Specifies the integer resource identifier to be converted.
The return value contains the idResource parameter in the low-order word and zero in the high-order word.
The MAKEINTRESOURCE macro is defined in WINDOWS.H as follows:
#define MAKEINTRESOURCE(i) ((LPCSTR)MAKELP(NULL, (i)))