MAKEINTRESOURCE macro
Converts an integer value to a resource type compatible with the resource-management functions. This macro is used in place of a string containing the name of the resource.
Syntax
LPTSTR MAKEINTRESOURCE( WORD wInteger );
Parameters
- wInteger
-
The integer value to be converted.
Return value
The return value is the specified value in the low-order word and zero in the high-order word.
Remarks
The return value should be passed only to functions which explicitly indicate that they accept MAKEINTRESOURCE as a parameter. For example, the resource management functions allow the return value of MAKEINTRESOURCE to be passed as the lpType or lpName parameters.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
Show: