Edit

Share via


IS_INTRESOURCE macro (winuser.h)

Determines whether a value is an integer identifier for a resource.

Syntax

BOOL IS_INTRESOURCE(
    void *_r
);

Parameters

_r

The pointer to be tested whether it contains an integer resource identifier.

Return value

Type: BOOL

If the value is a resource identifier, the return value is TRUE. Otherwise, the return value is FALSE.

Remarks

This macro checks whether all bits except the least 16 bits are zero. When true, _r is an integer identifier for a resource. Otherwise it is typically a pointer to a string.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)

See also

Resources Overview