Home
last modified time | relevance | path

Searched refs:GetObject (Results 1 – 25 of 93) sorted by relevance

1234

/reactos/modules/rostests/apitests/gdi32/
H A DGetObject.c271 ok_long(GetObject(hBitmap, 0, NULL), sizeof(BITMAP)); in Test_Dibsection()
272 ok_long(GetObject(hBitmap, 5, NULL), sizeof(BITMAP)); in Test_Dibsection()
274 ok_long(GetObject(hBitmap, 0, &dibsection), 0); in Test_Dibsection()
275 ok_long(GetObject(hBitmap, 5, &dibsection), 0); in Test_Dibsection()
323 ok(GetObject(hPalette, 0, &wPalette) == 0, "\n"); in Test_Palette()
324 ok(GetObject(hPalette, 1, &wPalette) == 0, "\n"); in Test_Palette()
459 ok(GetObject(hPen, 0, &logpen) == 0, "\n"); in Test_Pen()
510 ok(GetObject(hPen, 0, &extlogpen) == 0, "\n"); in Test_ExtPen()
513 ok(GetObject(hPen, 4, &extlogpen) == 0, "\n"); in Test_ExtPen()
742 GetObject(CursorInfo.hCursor, sizeof(BITMAP), &bmp); in Test_CursorIcon()
[all …]
H A DCreatePen.c23 ok(GetObject(hPen, sizeof(logpen), &logpen), "GetObject failed\n"); in Test_CreatePen()
37 ok(GetObject(hPen, sizeof(logpen), &logpen), "GetObject failed\n"); in Test_CreatePen()
49 ok(GetObject(hPen, sizeof(logpen), &logpen), "GetObject failed\n"); in Test_CreatePen()
61 ok(GetObject(hPen, sizeof(logpen), &logpen), "GetObject failed\n"); in Test_CreatePen()
73 ok(GetObject(hPen, sizeof(logpen), &logpen), "GetObject failed\n"); in Test_CreatePen()
H A DCreateIconIndirect.c79 ok(GetObject(iconinfo2.hbmMask, sizeof(bitmap), &bitmap), "GetObject failed\n"); in Test_GetIconInfo()
88 ok(GetObject(iconinfo2.hbmColor, sizeof(bitmap), &bitmap), "GetObject failed\n"); in Test_GetIconInfo()
115 ok(GetObject(iconinfo2.hbmMask, sizeof(bitmap), &bitmap), "GetObject failed\n"); in Test_GetIconInfo()
124 ok(GetObject(iconinfo2.hbmColor, sizeof(bitmap), &bitmap), "GetObject failed\n"); in Test_GetIconInfo()
154 ok(GetObject(iconinfo2.hbmMask, sizeof(bitmap), &bitmap), "GetObject failed\n"); in START_TEST()
175 ok(GetObject(iconinfo2.hbmMask, sizeof(bitmap), &bitmap), "GetObject failed\n"); in START_TEST()
H A DCreateBitmap.c128 ok_int(GetObject(hbmp, sizeof(bitmap), &bitmap), sizeof(BITMAP)); in Test_CreateBitmap()
144 ok_int(GetObject(hbmp, sizeof(bitmap), &bitmap), sizeof(BITMAP)); in Test_CreateBitmap()
167 ok_int(GetObject(hbmp, sizeof(bitmap), &bitmap), sizeof(BITMAP)); in Test_CreateBitmap()
H A DCreateDIBitmap.c334 ret = GetObject(hbmp, sizeof(bitmap), &bitmap); in Test_CreateDIBitmap1()
353 ret = GetObject(hbmp, sizeof(bitmap), &bitmap); in Test_CreateDIBitmap1()
453 ok_long(GetObject(hbmp, sizeof(DIBSECTION), &bitmap), sizeof(BITMAP)); in Test_CreateDIBitmap_CBM_CREATDIB()
479 ok_long(GetObject(hbmp, sizeof(DIBSECTION), &bitmap), sizeof(BITMAP)); in Test_CreateDIBitmap_CBM_CREATDIB()
492 ok_long(GetObject(hbmp, sizeof(DIBSECTION), &bitmap), sizeof(BITMAP)); in Test_CreateDIBitmap_CBM_CREATDIB()
H A DCreateDIBPatternBrush.c66 ok(GetObject(hbr, sizeof(logbrush), &logbrush), "GetObject() failed\n"); in Test_CreateDIBPatternBrushPt()
119 ok(GetObject(hbr, sizeof(logbrush), &logbrush), "GetObject() failed\n"); in Test_CreateDIBPatternBrushPt()
/reactos/modules/rostests/apitests/win32nt/ntgdi/
H A DNtGdiCreateBitmap.c83 ok_int(GetObject(hBmp, sizeof(BITMAP), &bitmap), (int)sizeof(BITMAP)); in Test_NtGdiCreateBitmap_Params()
105 ok_int(GetObject(hBmp, sizeof(BITMAP), &bitmap), (int)sizeof(BITMAP)); in Test_NtGdiCreateBitmap_Params()
122 ok_int(GetObject(hBmp, sizeof(BITMAP), &bitmap), (int)sizeof(BITMAP)); in Test_NtGdiCreateBitmap_Params()
127 ok_int(GetObject(hBmp, sizeof(BITMAP), &bitmap), (int)sizeof(BITMAP)); in Test_NtGdiCreateBitmap_Params()
132 ok_int(GetObject(hBmp, sizeof(BITMAP), &bitmap), (int)sizeof(BITMAP)); in Test_NtGdiCreateBitmap_Params()
137 ok_int(GetObject(hBmp, sizeof(BITMAP), &bitmap), (int)sizeof(BITMAP)); in Test_NtGdiCreateBitmap_Params()
142 ok_int(GetObject(hBmp, sizeof(BITMAP), &bitmap), (int)sizeof(BITMAP)); in Test_NtGdiCreateBitmap_Params()
147 ok_int(GetObject(hBmp, sizeof(BITMAP), &bitmap), (int)sizeof(BITMAP)); in Test_NtGdiCreateBitmap_Params()
171 ok_int(GetObject(hBmp, sizeof(BITMAP), &bitmap), (int)sizeof(BITMAP)); in Test_NtGdiCreateBitmap_Params()
/reactos/sdk/lib/drivers/wdf/shared/irphandlers/pnp/km/
H A Dsupportkm.cpp70 if (DeviceInStack->GetObject() == NULL) { in GetStackCapabilities()
98 status = irp.SendIrpSynchronously(DeviceInStack->GetObject()); in GetStackCapabilities()
104 DeviceInStack->GetObject(), status); in GetStackCapabilities()
164 if (DeviceInStack->GetObject() != NULL) { in GetStackCapabilities()
275 ASSERT(relatedTopOfStack.GetObject() != NULL); in SendDeviceUsageNotificationWorker()
290 status = RelatedIrp->SendIrpSynchronously(relatedTopOfStack.GetObject()); in SendDeviceUsageNotificationWorker()
H A Dpnpstatemachinekm.cpp189 ASSERT(pTopOfStack.GetObject() != NULL); in CreatePowerThreadIfNeeded()
191 if (pTopOfStack.GetObject() != NULL) { in CreatePowerThreadIfNeeded()
H A Dfxpkgpnpkm.cpp519 ForwardIrp->SendIrpSynchronously(Device->GetObject()); in PnpPassThroughQIWorker()
575 if (deviceObject.GetObject() != NULL) { in QueryForD3ColdInterface()
599 status = irp.SendIrpSynchronously(deviceObject.GetObject()); in QueryForD3ColdInterface()
/reactos/sdk/lib/drivers/wdf/shared/inc/private/km/
H A Dfxdevicekm.hpp61 if (m_DeviceObject.GetObject() != NULL) { in IsRemoveLockEnabledForIo()
62 return (_GetFxWdmExtension(m_DeviceObject.GetObject())->RemoveLockOptionFlags & in IsRemoveLockEnabledForIo()
93 if (m_AttachedDevice.GetObject() != NULL) { in DetachDevice()
94 Mx::MxDetachDevice(m_AttachedDevice.GetObject()); in DetachDevice()
/reactos/sdk/lib/drivers/wdf/shared/core/km/
H A Dfxdevicekm.cpp134 m_DeviceObject.GetObject(), m_PhysicalDevice.GetObject())); in FdoInitialize()
136 if (m_AttachedDevice.GetObject() == NULL) { in FdoInitialize()
140 Mx::MxDeleteDevice(m_DeviceObject.GetObject()); in FdoInitialize()
338 if (m_DeviceObject.GetObject() != NULL) { in Destroy()
354 m_DeviceObject.GetObject(), GetObjectHandleUnchecked(), m_AttachedDevice.GetObject()); in Destroy()
358 if (m_DeviceObject.GetObject() != NULL) { in Destroy()
366 Mx::MxDereferenceObject(m_DeviceObject.GetObject()); in Destroy()
369 Mx::MxDeleteDevice(m_DeviceObject.GetObject()); in Destroy()
/reactos/modules/rostests/apitests/user32/
H A DGetIconInfo.c82 ok(GetObject(iconinfo2.hbmMask, sizeof(bitmap), &bitmap), "GetObject failed\n"); in Test_GetIconInfo()
91 ok(GetObject(iconinfo2.hbmColor, sizeof(bitmap), &bitmap), "GetObject failed\n"); in Test_GetIconInfo()
119 ok(GetObject(iconinfo2.hbmMask, sizeof(bitmap), &bitmap), "GetObject failed\n"); in Test_GetIconInfo()
128 ok(GetObject(iconinfo2.hbmColor, sizeof(bitmap), &bitmap), "GetObject failed\n"); in Test_GetIconInfo()
223 ok(GetObject(iconinfo2.hbmMask, sizeof(bitmap), &bitmap), "GetObject failed\n"); in START_TEST()
232 ok(GetObject(iconinfo2.hbmColor, sizeof(bitmap), &bitmap), "GetObject failed\n"); in START_TEST()
261 ok(GetObject(iconinfo2.hbmMask, sizeof(bitmap), &bitmap), "GetObject failed\n"); in START_TEST()
/reactos/sdk/lib/drivers/wdf/shared/core/um/
H A Dfxdeviceum.cpp207 if (m_AttachedDevice.GetObject() == NULL) { in FdoInitialize()
240 if (m_AttachedDevice.GetObject() != NULL) { in FdoInitialize()
314 if (NULL != m_DeviceObject.GetObject()) { in FdoInitialize()
315 m_DeviceObject.GetObject()->Release(); in FdoInitialize()
318 if (NULL != m_AttachedDevice.GetObject()) { in FdoInitialize()
319 m_AttachedDevice.GetObject()->Release(); in FdoInitialize()
506 if (m_DeviceObject.GetObject() != NULL) { in Destroy()
525 m_AttachedDevice.GetObject()); in Destroy()
541 if (m_DeviceObject.GetObject() != NULL) { in DestructorInternal()
558 m_AttachedDevice.GetObject()); in DestructorInternal()
[all …]
H A Dfxdriverum.cpp283 m_DriverObject.GetObject()->FxDriver = this; in AllocateDriverObjectExtensionAndStoreFxDriver()
301 PDRIVER_OBJECT_UM pDriverObj = m_DriverObject.GetObject(); in ClearDriverObjectFxDriver()
/reactos/sdk/lib/drivers/wdf/shared/irphandlers/pnp/um/
H A Dsupportum.cpp55 deviceObject = DeviceInStack->GetObject(); in GetStackCapabilities()
91 deviceObject = DeviceInStack->GetObject(); in SetD3ColdSupport()
/reactos/sdk/lib/drivers/wdf/shared/inc/private/common/
H A Dfxdevice.hpp178 return m_DeviceObject.GetObject(); in GetDeviceObject()
214 return m_AttachedDevice.GetObject(); in GetAttachedDevice()
232 return m_PhysicalDevice.GetObject(); in GetPhysicalDevice()
433 return Mx::MxGetAttachedDeviceReference(m_DeviceObject.GetObject()); in GetAttachedDeviceReference()
1014 if (m_PdoKnown && m_PhysicalDevice.GetObject() != NULL) { in GetSafePhysicalDevice()
1015 return m_PhysicalDevice.GetObject(); in GetSafePhysicalDevice()
2236 Mx::MxReferenceObject(m_DeviceObject.GetObject()); in FxMpDevice()
2268 Mx::MxDereferenceObject(m_DeviceObject.GetObject()); in Dispose()
/reactos/sdk/lib/drivers/wdf/shared/core/
H A Dfxdriver.cpp353 if (m_DriverObject.GetObject() == NULL) { in Initialize()
358 status = FxDisposeList::_Create(FxDriverGlobals, m_DriverObject.GetObject(), &m_DisposeList); in Initialize()
517 m_DriverObject.GetObject(), &m_RegistryPath); in Initialize()
H A Dfxdevice.cpp274 ASSERT(m_DeviceObject.GetObject() == NULL); in ~FxDevice()
947 m_DeviceObject.GetObject(), in PostInitialize()
1025 m_Driver->m_DriverObject.GetObject(), in CreateDevice()
1037 m_Driver->m_DriverObject.GetObject(), in CreateDevice()
1196 else if (IsLegacy() && m_PkgGeneral != NULL && m_DeviceObject.GetObject() != NULL) { in DeleteObject()
1208 Mx::MxReferenceObject(m_DeviceObject.GetObject()); in DeleteObject()
1226 Mx::MxDeleteDevice(m_DeviceObject.GetObject()); in DeleteObject()
1887 if (m_AttachedDevice.GetObject() != NULL) { in SetFilterIoType()
/reactos/dll/directx/ddraw/Surface/
H A Dcallbacks_surf_hel.c110 GetObject(hImage, sizeof(BITMAP), &bm); in HelDdSurfLock()
220 GetObject(hImage, sizeof(BITMAP), &bm); in HelDdSurfUnlock()
/reactos/sdk/lib/drivers/wdf/shared/inc/primitives/common/
H A Dmxdriverobject.h53 GetObject( in GetObject() function
H A Dmxdeviceobject.h48 GetObject( in GetObject() function
/reactos/sdk/lib/drivers/wdf/shared/irphandlers/pnp/
H A Dfdopower.cpp260 Irp->SetCompletionRoutineEx(deviceObject.GetObject(), in DispatchSystemSetPower()
275 Irp->SetCompletionRoutineEx(deviceObject.GetObject(), in DispatchSystemSetPower()
/reactos/modules/rosapps/applications/screensavers/ssstars/
H A Dssstars.c116 GetObject(hFileBmp, sizeof(BITMAP), &bm); in CreateStarBitmap()
160 GetObject(hTextBmp, sizeof(BITMAP), &bm); in CreateStarBitmap()
248 GetObject(hStarTex, sizeof(BITMAP), &bm); in InitGL()
/reactos/sdk/lib/drivers/wdf/kmdf/inc/private/
H A Dfxdpc.hpp125 GetObject( in GetObject() function in FxDpc

1234