IS_INTRESOURCE macro

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

Syntax


BOOL IS_INTRESOURCE(
  const void *p
);

Parameters

p

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

Return value

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, p is an integer identifier for a resource. Otherwise it is typically a pointer to a string.

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:
© 2014 Microsoft