2010-03-13 00:34:48 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* Object Manager Types *
|
|
|
|
******************************************************************************/
|
|
|
|
|
2012-01-13 17:45:26 +00:00
|
|
|
$if (_WDMDDK_)
|
2010-03-23 19:24:29 +00:00
|
|
|
#define MAXIMUM_FILENAME_LENGTH 256
|
2010-04-23 10:50:19 +00:00
|
|
|
#define OBJ_NAME_PATH_SEPARATOR ((WCHAR)L'\\')
|
2010-03-23 19:24:29 +00:00
|
|
|
|
2010-04-23 10:50:19 +00:00
|
|
|
#define OBJECT_TYPE_CREATE 0x0001
|
|
|
|
#define OBJECT_TYPE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 0x1)
|
2010-03-23 19:24:29 +00:00
|
|
|
|
2010-04-23 10:50:19 +00:00
|
|
|
#define DIRECTORY_QUERY 0x0001
|
|
|
|
#define DIRECTORY_TRAVERSE 0x0002
|
|
|
|
#define DIRECTORY_CREATE_OBJECT 0x0004
|
|
|
|
#define DIRECTORY_CREATE_SUBDIRECTORY 0x0008
|
|
|
|
#define DIRECTORY_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 0xF)
|
2010-03-23 19:24:29 +00:00
|
|
|
|
|
|
|
#define SYMBOLIC_LINK_QUERY 0x0001
|
|
|
|
#define SYMBOLIC_LINK_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | 0x1)
|
|
|
|
|
|
|
|
#define DUPLICATE_CLOSE_SOURCE 0x00000001
|
|
|
|
#define DUPLICATE_SAME_ACCESS 0x00000002
|
|
|
|
#define DUPLICATE_SAME_ATTRIBUTES 0x00000004
|
|
|
|
|
2010-04-23 10:50:19 +00:00
|
|
|
#define OB_FLT_REGISTRATION_VERSION_0100 0x0100
|
|
|
|
#define OB_FLT_REGISTRATION_VERSION OB_FLT_REGISTRATION_VERSION_0100
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
|
|
|
|
typedef ULONG OB_OPERATION;
|
|
|
|
|
2010-04-23 10:50:19 +00:00
|
|
|
#define OB_OPERATION_HANDLE_CREATE 0x00000001
|
|
|
|
#define OB_OPERATION_HANDLE_DUPLICATE 0x00000002
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
|
|
|
|
typedef struct _OB_PRE_CREATE_HANDLE_INFORMATION {
|
2012-01-22 14:43:53 +00:00
|
|
|
_Inout_ ACCESS_MASK DesiredAccess;
|
|
|
|
_In_ ACCESS_MASK OriginalDesiredAccess;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_PRE_CREATE_HANDLE_INFORMATION, *POB_PRE_CREATE_HANDLE_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _OB_PRE_DUPLICATE_HANDLE_INFORMATION {
|
2012-01-22 14:43:53 +00:00
|
|
|
_Inout_ ACCESS_MASK DesiredAccess;
|
|
|
|
_In_ ACCESS_MASK OriginalDesiredAccess;
|
|
|
|
_In_ PVOID SourceProcess;
|
|
|
|
_In_ PVOID TargetProcess;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_PRE_DUPLICATE_HANDLE_INFORMATION, *POB_PRE_DUPLICATE_HANDLE_INFORMATION;
|
|
|
|
|
|
|
|
typedef union _OB_PRE_OPERATION_PARAMETERS {
|
2012-01-22 14:43:53 +00:00
|
|
|
_Inout_ OB_PRE_CREATE_HANDLE_INFORMATION CreateHandleInformation;
|
|
|
|
_Inout_ OB_PRE_DUPLICATE_HANDLE_INFORMATION DuplicateHandleInformation;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_PRE_OPERATION_PARAMETERS, *POB_PRE_OPERATION_PARAMETERS;
|
|
|
|
|
|
|
|
typedef struct _OB_PRE_OPERATION_INFORMATION {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ OB_OPERATION Operation;
|
2010-04-23 10:50:19 +00:00
|
|
|
_ANONYMOUS_UNION union {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ ULONG Flags;
|
2010-04-23 10:50:19 +00:00
|
|
|
_ANONYMOUS_STRUCT struct {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ ULONG KernelHandle:1;
|
|
|
|
_In_ ULONG Reserved:31;
|
2010-04-23 10:50:19 +00:00
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ PVOID Object;
|
|
|
|
_In_ POBJECT_TYPE ObjectType;
|
|
|
|
_Out_ PVOID CallContext;
|
|
|
|
_In_ POB_PRE_OPERATION_PARAMETERS Parameters;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_PRE_OPERATION_INFORMATION, *POB_PRE_OPERATION_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _OB_POST_CREATE_HANDLE_INFORMATION {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ ACCESS_MASK GrantedAccess;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_POST_CREATE_HANDLE_INFORMATION, *POB_POST_CREATE_HANDLE_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct _OB_POST_DUPLICATE_HANDLE_INFORMATION {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ ACCESS_MASK GrantedAccess;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_POST_DUPLICATE_HANDLE_INFORMATION, *POB_POST_DUPLICATE_HANDLE_INFORMATION;
|
|
|
|
|
|
|
|
typedef union _OB_POST_OPERATION_PARAMETERS {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ OB_POST_CREATE_HANDLE_INFORMATION CreateHandleInformation;
|
|
|
|
_In_ OB_POST_DUPLICATE_HANDLE_INFORMATION DuplicateHandleInformation;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_POST_OPERATION_PARAMETERS, *POB_POST_OPERATION_PARAMETERS;
|
|
|
|
|
|
|
|
typedef struct _OB_POST_OPERATION_INFORMATION {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ OB_OPERATION Operation;
|
2010-04-23 10:50:19 +00:00
|
|
|
_ANONYMOUS_UNION union {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ ULONG Flags;
|
2010-04-23 10:50:19 +00:00
|
|
|
_ANONYMOUS_STRUCT struct {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ ULONG KernelHandle:1;
|
|
|
|
_In_ ULONG Reserved:31;
|
2010-04-23 10:50:19 +00:00
|
|
|
} DUMMYSTRUCTNAME;
|
|
|
|
} DUMMYUNIONNAME;
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ PVOID Object;
|
|
|
|
_In_ POBJECT_TYPE ObjectType;
|
|
|
|
_In_ PVOID CallContext;
|
|
|
|
_In_ NTSTATUS ReturnStatus;
|
|
|
|
_In_ POB_POST_OPERATION_PARAMETERS Parameters;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_POST_OPERATION_INFORMATION,*POB_POST_OPERATION_INFORMATION;
|
|
|
|
|
|
|
|
typedef enum _OB_PREOP_CALLBACK_STATUS {
|
|
|
|
OB_PREOP_SUCCESS
|
|
|
|
} OB_PREOP_CALLBACK_STATUS, *POB_PREOP_CALLBACK_STATUS;
|
|
|
|
|
|
|
|
typedef OB_PREOP_CALLBACK_STATUS
|
|
|
|
(NTAPI *POB_PRE_OPERATION_CALLBACK)(
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ PVOID RegistrationContext,
|
|
|
|
_Inout_ POB_PRE_OPERATION_INFORMATION OperationInformation);
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
|
|
|
|
typedef VOID
|
|
|
|
(NTAPI *POB_POST_OPERATION_CALLBACK)(
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ PVOID RegistrationContext,
|
|
|
|
_In_ POB_POST_OPERATION_INFORMATION OperationInformation);
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
|
|
|
|
typedef struct _OB_OPERATION_REGISTRATION {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ POBJECT_TYPE *ObjectType;
|
|
|
|
_In_ OB_OPERATION Operations;
|
|
|
|
_In_ POB_PRE_OPERATION_CALLBACK PreOperation;
|
|
|
|
_In_ POB_POST_OPERATION_CALLBACK PostOperation;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_OPERATION_REGISTRATION, *POB_OPERATION_REGISTRATION;
|
|
|
|
|
|
|
|
typedef struct _OB_CALLBACK_REGISTRATION {
|
2012-01-22 14:43:53 +00:00
|
|
|
_In_ USHORT Version;
|
|
|
|
_In_ USHORT OperationRegistrationCount;
|
|
|
|
_In_ UNICODE_STRING Altitude;
|
|
|
|
_In_ PVOID RegistrationContext;
|
|
|
|
_In_ OB_OPERATION_REGISTRATION *OperationRegistration;
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
} OB_CALLBACK_REGISTRATION, *POB_CALLBACK_REGISTRATION;
|
|
|
|
|
2010-03-13 00:34:48 +00:00
|
|
|
typedef struct _OBJECT_NAME_INFORMATION {
|
2010-03-18 22:45:30 +00:00
|
|
|
UNICODE_STRING Name;
|
2010-03-13 00:34:48 +00:00
|
|
|
} OBJECT_NAME_INFORMATION, *POBJECT_NAME_INFORMATION;
|
|
|
|
|
|
|
|
/* Exported object types */
|
2014-05-11 23:11:16 +00:00
|
|
|
#ifdef _NTSYSTEM_
|
[PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.
svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
|
|
|
extern POBJECT_TYPE NTSYSAPI CmKeyObjectType;
|
2010-03-13 00:34:48 +00:00
|
|
|
extern POBJECT_TYPE NTSYSAPI ExEventObjectType;
|
|
|
|
extern POBJECT_TYPE NTSYSAPI ExSemaphoreObjectType;
|
|
|
|
extern POBJECT_TYPE NTSYSAPI IoFileObjectType;
|
|
|
|
extern POBJECT_TYPE NTSYSAPI PsThreadType;
|
|
|
|
extern POBJECT_TYPE NTSYSAPI SeTokenObjectType;
|
|
|
|
extern POBJECT_TYPE NTSYSAPI PsProcessType;
|
2014-05-11 23:11:16 +00:00
|
|
|
#else
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(CmKeyObjectType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(IoFileObjectType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(ExEventObjectType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(ExSemaphoreObjectType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(TmTransactionManagerObjectType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(TmResourceManagerObjectType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(TmEnlistmentObjectType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(TmTransactionObjectType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(PsProcessType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(PsThreadType)
|
|
|
|
__CREATE_NTOS_DATA_IMPORT_ALIAS(SeTokenObjectType)
|
2014-09-14 15:40:37 +00:00
|
|
|
extern POBJECT_TYPE *CmKeyObjectType;
|
|
|
|
extern POBJECT_TYPE *IoFileObjectType;
|
|
|
|
extern POBJECT_TYPE *ExEventObjectType;
|
|
|
|
extern POBJECT_TYPE *ExSemaphoreObjectType;
|
|
|
|
extern POBJECT_TYPE *TmTransactionManagerObjectType;
|
|
|
|
extern POBJECT_TYPE *TmResourceManagerObjectType;
|
|
|
|
extern POBJECT_TYPE *TmEnlistmentObjectType;
|
|
|
|
extern POBJECT_TYPE *TmTransactionObjectType;
|
|
|
|
extern POBJECT_TYPE *PsProcessType;
|
|
|
|
extern POBJECT_TYPE *PsThreadType;
|
|
|
|
extern POBJECT_TYPE *SeTokenObjectType;
|
2014-05-11 23:11:16 +00:00
|
|
|
#endif
|
2010-03-13 00:34:48 +00:00
|
|
|
|
2012-01-13 17:45:26 +00:00
|
|
|
$endif (_WDMDDK_)
|
|
|
|
$if (_NTIFS_)
|
|
|
|
typedef enum _OBJECT_INFORMATION_CLASS {
|
|
|
|
ObjectBasicInformation = 0,
|
|
|
|
ObjectTypeInformation = 2,
|
|
|
|
$endif (_NTIFS_)
|
2012-01-13 17:49:40 +00:00
|
|
|
$if (_NTIFS_) // we should remove these, but the kernel needs them :-/
|
2012-01-13 17:45:26 +00:00
|
|
|
/* Not for public use */
|
|
|
|
ObjectNameInformation = 1,
|
|
|
|
ObjectTypesInformation = 3,
|
|
|
|
ObjectHandleFlagInformation = 4,
|
|
|
|
ObjectSessionInformation = 5,
|
|
|
|
MaxObjectInfoClass
|
2012-01-13 17:49:40 +00:00
|
|
|
$endif (_NTIFS_)
|
2012-01-13 17:45:26 +00:00
|
|
|
$if (_NTIFS_)
|
|
|
|
} OBJECT_INFORMATION_CLASS;
|
|
|
|
|
|
|
|
$endif (_NTIFS_)
|
|
|
|
|