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.
hobj
Specifies a handle to test.
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.
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.