/reactos/win32ss/gdi/gdi32/objects/ |
H A D | clientobj.c | 16 HGDIOBJ hobj; member 25 _In_ HGDIOBJ hobj, in GdiCreateClientObjLink() argument 39 pcol->hobj = hobj; in GdiCreateClientObjLink() 62 _In_ HGDIOBJ hobj) in GdiGetClientObjLink() argument 79 if (pcol->hobj == hobj) in GdiGetClientObjLink() 99 _In_ HGDIOBJ hobj) in GdiRemoveClientObjLink() argument 119 if (pcol->hobj == hobj) in GdiRemoveClientObjLink() 152 HGDIOBJ hobj; in GdiCreateClientObj() local 156 if (hobj == NULL) in GdiCreateClientObj() 168 return hobj; in GdiCreateClientObj() [all …]
|
H A D | gdiobj.c | 16 HGDIOBJ hobj; in GetStockObject() local 21 hobj = stock_objects[fnObject]; in GetStockObject() 22 if (hobj == NULL) in GetStockObject() 24 hobj = NtGdiGetStockObject(fnObject); in GetStockObject() 26 if (!GdiValidateHandle(hobj)) in GetStockObject() 31 stock_objects[fnObject] = hobj; in GetStockObject() 34 return hobj; in GetStockObject() 283 HGDIOBJ hobj) in GdiDeleteBrushOrPen() argument 290 eObjectType = GDI_HANDLE_GET_TYPE(hobj); in GdiDeleteBrushOrPen() 302 pgO->hgdiobj = hobj; in GdiDeleteBrushOrPen() [all …]
|
H A D | dc.c | 1548 _In_ HGDIOBJ hobj) in SelectObject() argument 1551 hobj = GdiFixUpHandle(hobj); in SelectObject() 1552 if (!GdiValidateHandle(hobj)) in SelectObject() 1558 switch (GDI_HANDLE_GET_TYPE(hobj)) in SelectObject() 1561 return (HGDIOBJ)UlongToHandle(ExtSelectClipRgn(hdc, hobj, RGN_COPY)); in SelectObject() 1565 return GdiSelectBitmap(hdc, hobj); in SelectObject() 1568 return GdiSelectBrush(hdc, hobj); in SelectObject() 1572 return GdiSelectPen(hdc, hobj); in SelectObject() 1575 return GdiSelectFont(hdc, hobj); in SelectObject() 1578 return SetColorSpace(hdc, hobj); in SelectObject()
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | gdiobj.c | 208 HGDIOBJ hobj; in test_GetCurrentObject() local 222 ok(hobj == hpen, "OBJ_PEN is wrong: %p\n", hobj); in test_GetCurrentObject() 224 ok(hobj == hpen, "OBJ_EXTPEN is wrong: %p\n", hobj); in test_GetCurrentObject() 230 ok(hobj == hbrush, "OBJ_BRUSH is wrong: %p\n", hobj); in test_GetCurrentObject() 236 ok(hobj == hpal, "OBJ_PAL is wrong: %p\n", hobj); in test_GetCurrentObject() 244 ok(hobj == hfont, "OBJ_FONT is wrong: %p\n", hobj); in test_GetCurrentObject() 250 ok(hobj == hbmp, "OBJ_BITMAP is wrong: %p\n", hobj); in test_GetCurrentObject() 258 ok(hobj == hpen, "OBJ_PEN is wrong: %p\n", hobj); in test_GetCurrentObject() 260 ok(hobj == hpen, "OBJ_EXTPEN is wrong: %p\n", hobj); in test_GetCurrentObject() 271 ok(hobj == hcs, "OBJ_COLORSPACE is wrong: %p\n", hobj); in test_GetCurrentObject() [all …]
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | gdiobj.c | 64 _In_ HANDLE hobj) in INCREASE_THREAD_LOCK_COUNT() argument 80 _In_ HANDLE hobj) in DECREASE_THREAD_LOCK_COUNT() argument 124 #define ASSERT_LOCK_ORDER(hobj) argument 692 HGDIOBJ hobj, in GDIOBJ_ReferenceObjectByHandle() argument 758 HGDIOBJ hobj, in GDIOBJ_TryLockObject() argument 827 HGDIOBJ hobj, in GDIOBJ_LockObject() argument 1223 HGDIOBJ hobj, in GreSetObjectOwnerEx() argument 1256 HGDIOBJ hobj, in GreSetObjectOwner() argument 1265 IN HGDIOBJ hobj, in GreGetObject() argument 1327 IN HANDLE hobj, in NtGdiExtGetObjectW() argument [all …]
|
H A D | gdiobj.h | 84 HGDIOBJ hobj); 94 HGDIOBJ hobj); 99 HGDIOBJ hobj, 105 HGDIOBJ hobj, 112 IN HGDIOBJ hobj, 131 HGDIOBJ hobj, 147 HGDIOBJ hobj, 153 HGDIOBJ hobj,
|
H A D | baseobj.hpp | 39 HGDIOBJ hobj, 45 HGDIOBJ hobj, 51 HGDIOBJ hobj, in LockShared() argument 56 return reinterpret_cast<CBASEOBJECT*>(GDIOBJ_ShareLockObj(hobj, loobjtype)); in LockShared()
|
H A D | pen.c | 61 PEN_ShareLockPen(HPEN hobj) in PEN_ShareLockPen() argument 63 if ((GDI_HANDLE_GET_TYPE(hobj) != GDILoObjType_LO_PEN_TYPE) && in PEN_ShareLockPen() 64 (GDI_HANDLE_GET_TYPE(hobj) != GDILoObjType_LO_EXTPEN_TYPE)) in PEN_ShareLockPen() 69 return (PBRUSH)GDIOBJ_ReferenceObjectByHandle(hobj, GDIObjType_BRUSH_TYPE); in PEN_ShareLockPen()
|
H A D | dclife.c | 950 NtGdiDeleteObjectApp(HANDLE hobj) in NtGdiDeleteObjectApp() argument 952 if (GDI_HANDLE_IS_STOCKOBJ(hobj)) return TRUE; in NtGdiDeleteObjectApp() 954 if (GreGetObjectOwner(hobj) != GDI_OBJ_HMGR_POWNED) in NtGdiDeleteObjectApp() 960 if (GDI_HANDLE_GET_TYPE(hobj) != GDI_OBJECT_TYPE_DC) in NtGdiDeleteObjectApp() 961 return GreDeleteObject(hobj); in NtGdiDeleteObjectApp() 964 return IntGdiDeleteDC(hobj, FALSE); in NtGdiDeleteObjectApp()
|
/reactos/modules/rostests/apitests/gditools/ |
H A D | gditools.c | 30 _In_ HGDIOBJ hobj) in GdiIsHandleValid() argument 33 USHORT Index = (ULONG_PTR)hobj & 0xFFFF; in GdiIsHandleValid() 38 (pentry->FullUnique != (USHORT)((ULONG_PTR)hobj >> 16))) in GdiIsHandleValid() 48 _In_ HGDIOBJ hobj, in GdiIsHandleValidEx() argument 52 USHORT Index = (ULONG_PTR)hobj & 0xFFFF; in GdiIsHandleValidEx() 57 (pentry->FullUnique != (USHORT)((ULONG_PTR)hobj >> 16)) || in GdiIsHandleValidEx() 69 _In_ HGDIOBJ hobj) in GdiGetHandleUserData() argument 72 USHORT Index = (ULONG_PTR)hobj; in GdiGetHandleUserData() 75 if (!GdiIsHandleValid(hobj)) in GdiGetHandleUserData()
|
H A D | gditools.h | 10 _In_ HGDIOBJ hobj); 14 _In_ HGDIOBJ hobj, 19 _In_ HGDIOBJ hobj);
|
/reactos/win32ss/gdi/gdi32/wine/ |
H A D | rosglue.c | 59 free_gdi_handle(HGDIOBJ hobj) in free_gdi_handle() argument 62 return GdiDeleteClientObj(hobj); in free_gdi_handle() 67 HGDIOBJ hobj, in GDI_GetObjPtr() argument 83 return GdiGetLDC(hobj); in GDI_GetObjPtr() 91 return GdiGetClientObjLink(hobj); in GDI_GetObjPtr() 100 GDI_ReleaseObj(HGDIOBJ hobj) in GDI_ReleaseObj() argument 167 HGDIOBJ hobj, in GDI_hdc_using_object() argument 173 if (!GdiCreateClientObjLink(hobj, hdc)) in GDI_hdc_using_object() 183 HGDIOBJ hobj, in GDI_hdc_not_using_object() argument 352 METADC_RosGlueDeleteObject(HGDIOBJ hobj) in METADC_RosGlueDeleteObject() argument [all …]
|
H A D | gdi_private.h | 67 PVOID WINAPI GdiGetClientObjLink(_In_ HGDIOBJ hobj); 68 PVOID WINAPI GdiDeleteClientObj(_In_ HGDIOBJ hobj);
|
H A D | metafile.c | 84 static int MF_AddHandle(HANDLETABLE *ht, UINT htlen, HGDIOBJ hobj) in MF_AddHandle() argument 92 *(ht->objectHandle + i) = hobj; in MF_AddHandle()
|
/reactos/modules/rostests/apitests/win32nt/ |
H A D | w32knapi.c | 17 IsHandleValid(HGDIOBJ hobj) in IsHandleValid() argument 19 USHORT Index = (ULONG_PTR)hobj; in IsHandleValid() 24 (USHORT)pentry->FullUnique != (USHORT)((ULONG_PTR)hobj >> 16)) in IsHandleValid() 33 GetHandleUserData(HGDIOBJ hobj) in GetHandleUserData() argument 35 USHORT Index = (ULONG_PTR)hobj; in GetHandleUserData() 40 (USHORT)pentry->FullUnique != (USHORT)((ULONG_PTR)hobj >> 16)) in GetHandleUserData()
|
H A D | w32knapi.h | 42 BOOL IsHandleValid(HGDIOBJ hobj); 43 PVOID GetHandleUserData(HGDIOBJ hobj);
|
/reactos/win32ss/gdi/gdi32/include/ |
H A D | gdi32p.h | 544 _In_ HGDIOBJ hobj); 549 _In_ HGDIOBJ hobj, 555 _In_ HGDIOBJ hobj); 560 _In_ HGDIOBJ hobj); 566 METADC_RosGlueDeleteObject(HGDIOBJ hobj);
|
/reactos/win32ss/gdi/gdi32/misc/ |
H A D | misc.c | 712 GdiValidateHandle(HGDIOBJ hobj) in GdiValidateHandle() argument 714 PGDI_TABLE_ENTRY Entry = GdiHandleTable + GDI_HANDLE_GET_INDEX(hobj); in GdiValidateHandle() 717 GDI_HANDLE_GET_TYPE(hobj) ) in GdiValidateHandle()
|
/reactos/modules/rostests/winetests/ole32/ |
H A D | ole2.c | 1278 HGDIOBJ hobj; in test_OleLoad() local 1305 hobj = CreateBitmap(1, 1, 1, 1, NULL); in test_OleLoad() 1306 data_size = GetBitmapBits(hobj, sizeof(buf), buf); in test_OleLoad() 1307 DeleteObject(hobj); in test_OleLoad() 1313 hobj = CloseMetaFile(hdc); in test_OleLoad() 1314 data_size = GetMetaFileBitsEx(hobj, sizeof(buf), buf); in test_OleLoad() 1315 DeleteMetaFile(hobj); in test_OleLoad()
|
/reactos/win32ss/user/user32/windows/ |
H A D | menu.c | 13 BOOL WINAPI GdiValidateHandle(HGDIOBJ hobj);
|
/reactos/sdk/include/psdk/ |
H A D | ntgdi.h | 1360 _In_ HANDLE hobj);
|