ReactOS 0.4.16-dev-92-g0c2cdca
driverobj.h
Go to the documentation of this file.
1#pragma once
2
3/* Object structure */
4typedef struct _EDRIVEROBJ
5{
10
12
13/* Cleanup function */
15
16
17#define DRIVEROBJ_AllocObjectWithHandle() ((PEDRIVEROBJ)GDIOBJ_AllocObjWithHandle(GDI_OBJECT_TYPE_DRIVEROBJ, sizeof(EDRIVEROBJ)))
18#define DRIVEROBJ_UnlockObject(pdo) GDIOBJ_vUnlockObject((POBJ)pdo)
19
23{
25}
DRIVEROBJ * PDRIVEROBJ
Definition: driverobj.h:11
struct _EDRIVEROBJ EDRIVEROBJ
FORCEINLINE PEDRIVEROBJ DRIVEROBJ_TryLockObject(HDRVOBJ hdo)
Definition: driverobj.h:22
VOID NTAPI DRIVEROBJ_vCleanup(PVOID pObject)
DRIVEROBJ cleanup function.
Definition: driverobj.c:24
struct _EDRIVEROBJ * PEDRIVEROBJ
FxObject * pObject
@ GDIObjType_DRVOBJ_TYPE
Definition: ntgdityp.h:148
DRIVEROBJ drvobj
Definition: driverobj.h:7
BASEOBJECT baseobj
Definition: driverobj.h:6
PVOID reserved
Definition: driverobj.h:8
#define NTAPI
Definition: typedefs.h:36
#define FORCEINLINE
Definition: wdftypes.h:67
PGDIOBJ NTAPI GDIOBJ_TryLockObject(HGDIOBJ hobj, UCHAR objt)
Definition: gdiobj.c:757