Funktionreferenz


_WinAPI_GetCurrentObject


Retrieves a handle to an object of the specified type that has been selected into the specified device context

#include <WinAPIHObj.au3>
_WinAPI_GetCurrentObject ( $hDC, $iType )

Parameter

$hDC Handle to the device context.
$iType The object type to be queried. This parameter can be one of the following values.
$OBJ_BITMAP
$OBJ_BRUSH
$OBJ_COLORSPACE
$OBJ_FONT
$OBJ_PAL
$OBJ_PEN

Rückgabewert

Success: Handle to the specified object.
Failure: 0.

Bemerkungen

None.

Siehe auch

Suche nach GetCurrentObject in der MSDN Bibliothek.