ReactOS  0.4.15-dev-3175-g222acf5
driverobj.h
Go to the documentation of this file.
1 #pragma once
2 
3 /* Object structure */
4 typedef 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 }
struct _EDRIVEROBJ * PEDRIVEROBJ
FxObject * pObject
struct _EDRIVEROBJ EDRIVEROBJ
DRIVEROBJ * PDRIVEROBJ
Definition: driverobj.h:11
BASEOBJECT baseobj
Definition: driverobj.h:6
DRIVEROBJ drvobj
Definition: driverobj.h:7
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
PVOID reserved
Definition: driverobj.h:8
VOID NTAPI DRIVEROBJ_vCleanup(PVOID pObject)
DRIVEROBJ cleanup function.
Definition: driverobj.c:24
#define FORCEINLINE
Definition: wdftypes.h:67
PGDIOBJ NTAPI GDIOBJ_TryLockObject(HGDIOBJ hobj, UCHAR objt)
Definition: gdiobj.c:757
FORCEINLINE PEDRIVEROBJ DRIVEROBJ_TryLockObject(HDRVOBJ hdo)
Definition: driverobj.h:22