Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The GetObjectType retrieves the type of the specified object.
Syntax
DWORD GetObjectType(
[in] HGDIOBJ h
);
Parameters
[in] h
A handle to the graphics object.
Return value
If the function succeeds, the return value identifies the object. This value can be one of the following.
| Value | Meaning |
|---|---|
| OBJ_BITMAP | Bitmap |
| OBJ_BRUSH | Brush |
| OBJ_COLORSPACE | Color space |
| OBJ_DC | Device context |
| OBJ_ENHMETADC | Enhanced metafile DC |
| OBJ_ENHMETAFILE | Enhanced metafile |
| OBJ_EXTPEN | Extended pen |
| OBJ_FONT | Font |
| OBJ_MEMDC | Memory DC |
| OBJ_METAFILE | Metafile |
| OBJ_METADC | Metafile DC |
| OBJ_PAL | Palette |
| OBJ_PEN | Pen |
| OBJ_REGION | Region |
If the function fails, the return value is zero.
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 | wingdi.h (include Windows.h) |
| Library | Gdi32.lib |
| DLL | Gdi32.dll |