GetCurrentObject (GDI32.@)
HGDIOBJ GetCurrentObject ( HDC hdc, UINT type )
Get the currently selected object of a given type in a device context.
hdc | [In] | Device context to get the current object from. |
type | [In] | Type of current object to get (OBJ_* defines from "wingdi.h"). |
Success: The current object of the given type selected in hdc.
Failure: A NULL handle.
- only the following object types are supported:
OBJ_PEN OBJ_BRUSH OBJ_PAL OBJ_FONT OBJ_BITMAP
Defined in "wingdi.h".
Implemented in "dlls/gdi32/gdiobj.c". source.winehq.org/source/dlls/gdi32/gdiobj.c
Debug channel "gdi".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.