IRP
MDL
Expand Minimize
This topic has not yet been rated - Rate this topic

OB_CALLBACK_REGISTRATION structure

The OB_CALLBACK_REGISTRATION structure specifies the parameters when the ObRegisterCallbacks routine registers ObjectPreCallback and ObjectPostCallback callback routines.

Syntax


typedef struct _OB_CALLBACK_REGISTRATION {
  USHORT                    Version;
  USHORT                    OperationRegistrationCount;
  UNICODE_STRING            Altitude;
  PVOID                     RegistrationContext;
  OB_OPERATION_REGISTRATION *OperationRegistration;
} OB_CALLBACK_REGISTRATION, *POB_CALLBACK_REGISTRATION;

Members

Version

The version of object callback registration that is requested. Drivers should specify OB_FLT_REGISTRATION_VERSION.

OperationRegistrationCount

The number of entries in the OperationRegistration array.

Altitude

A Unicode string that specifies the altitude of the driver. For more information about altitude, see Load Order Groups and Altitudes for Minifilter Drivers.

RegistrationContext

The system passes the RegistrationContext value to the callback routine when the callback routine is run. The meaning of this value is driver-defined.

OperationRegistration

A pointer to an array of OB_OPERATION_REGISTRATION structures. Each structure specifies ObjectPreCallback and ObjectPostCallback callback routines and the types of operations that the routines are called for.

Requirements

Version

Available in Windows Server 2008 and later versions of the Windows operating system.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

OB_OPERATION_REGISTRATION
ObjectPostCallback
ObjectPreCallback
ObRegisterCallbacks

 

 

Send comments about this topic to Microsoft

Build date: 5/22/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.