NAME
GDI_GetObjPtr - GDI_GetObjPtr
SYNOPSIS
GDIOBJHDR *GDI_GetObjPtr
(
HGDIOBJ16 handle,
WORD magic
);
DESCRIPTION
Return a pointer to the GDI object associated to the handle. Return NULL if the object has the wrong magic number. Movable GDI objects are locked in memory: it is up to the caller to unlock it after the caller is done with the pointer.
SEE ALSO
GDI_Init(3w), GDI_AllocObject(3w), GDI_FreeObject(3w), DeleteObject16(3w), DeleteObject32(3w), GetStockObject16(3w), GetStockObject32(3w), GetObject16(3w), GetObject32A(3w), GetObjectType(3w), GetObject32W(3w), GetCurrentObject(3w), SelectObject16(3w), SelectObject32(3w), UnrealizeObject16(3w), UnrealizeObject32(3w), EnumObjects16(3w), EnumObjects32(3w), IsGDIObject(3w), SetObjectOwner16(3w), GdiGetBatchLimit(3w), GdiSetBatchLimit(3w), GdiSeeGdiDo(3w), MulDiv16(3w), MulDiv32(3w)