MAKEINTRESOURCE

  LPSTR MAKEINTRESOURCE(nInteger)    

The MAKEINTRESOURCE macro converts an integer value to a resource type compatible with Windows resource-management functions.

Parameters

nInteger

Specifies the integer value to be converted.

Return Value

The return value should only be passed to the Windows resource-management functions, as the lpType parameter.

Comments

The MAKEINTRESOURCE macro is defined as:

#define MAKEINTRESOURCE(i) (LPSTR)((DWORD)((WORD)(i)))