Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1 KB

GetObjectType.md

File metadata and controls

44 lines (31 loc) · 1 KB

Home

Function name : GetObjectType

Group: Device Context - Library: gdi32


The GetObjectType retrieves the type of the specified object.


Code examples:

Storing content of the Clipboard to a bitmap file
The original LoadPicture() function in VFP returns valid handles to bitmaps, icons, cursors, and metafiles
Reading the structure of VFP main menu
Custom GDI+ class

Declaration:

DWORD GetObjectType(
  HGDIOBJ h   // handle to graphics object
);  

FoxPro declaration:

DECLARE INTEGER GetObjectType IN gdi32;
	INTEGER h  

Parameters:

h [in] Handle to the graphics object.


Return value:

If the function fails, the return value is zero.