ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

driverobj.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 /* Object structure */
00004 typedef struct _EDRIVEROBJ
00005 {
00006     BASEOBJECT baseobj;
00007     DRIVEROBJ drvobj;
00008     PVOID reserved;
00009 } EDRIVEROBJ, *PEDRIVEROBJ;
00010 
00011 typedef DRIVEROBJ *PDRIVEROBJ;
00012 
00013 /* Cleanup function */
00014 BOOL NTAPI DRIVEROBJ_Cleanup(PVOID pObject);
00015 
00016 
00017 #define DRIVEROBJ_AllocObjectWithHandle()  ((PEDRIVEROBJ)GDIOBJ_AllocObjWithHandle(GDI_OBJECT_TYPE_DRIVEROBJ, sizeof(DRIVEROBJ)))
00018 #define DRIVEROBJ_FreeObjectByHandle(hdo) GDIOBJ_FreeObjByHandle((HGDIOBJ)hdo, GDI_OBJECT_TYPE_DRIVEROBJ)
00019 #define DRIVEROBJ_UnlockObject(pdo) GDIOBJ_vUnlockObject((POBJ)pdo)
00020 
00021 FORCEINLINE
00022 PEDRIVEROBJ
00023 DRIVEROBJ_LockObject(HDRVOBJ hdo)
00024 {
00025     return GDIOBJ_LockObject(hdo, GDIObjType_DRVOBJ_TYPE);
00026 }

Generated on Sat May 26 2012 04:37:07 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.