Rechercher une page de manuel
GetCurrentObject.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
GetCurrentObject (GDI32.@)SYNOPSIS
HGDIOBJ GetCurrentObject(
HDC hdc,
UINT type
)
DESCRIPTION
Get the currently selected object of a given type in a device context.
PARAMS
hdc [In] Device context to get the current object from.type [In] Type of current object to get (OBJ_* defines from "wingdi.h").
RETURNS
Success: The current object of the given type selected in hdc.
Failure: A NULL handle.
NOTES
- only the following object types are supported:
OBJ_PEN
OBJ_BRUSH
OBJ_PAL
OBJ_FONT
OBJ_BITMAP
IMPLEMENTATION
Defined in "wingdi.h".
Implemented in "dlls/gdi32/gdiobj.c".
Debug channel "gdi".
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre