Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MAKEINTRESOURCE
Collapse the table of content
Expand the table of content

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

Winuser.h (include Windows.h)

See also

Resources Overview

 

 

Community Additions

ADD
Show:
© 2015 Microsoft