IsGDIObject

3.1

  BOOL IsGDIObject(hobj)    
  HGDIOBJ hobj; /* handle of a menu */

The IsGDIObject function determines whether the specified handle is not the handle of a graphics device interface (GDI) object.

Parameters

hobj

Specifies a handle to test.

Return Value

The return value is nonzero if the handle may be the handle of a GDI object. It is zero if the handle is not the handle of a GDI object.

Comments

An application cannot use IsGDIObject to guarantee that a given handle is to a GDI object. However, this function can be used to guarantee that a given handle is not to a GDI object.

See Also

GetObject