Export (0) Print
Expand All
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.

Remarks

This structure is used by the ObRegisterCallbacks routine. The CallBackRegistration parameter to this routine is a pointer to a buffer that contains an OB_CALLBACK_REGISTRATION structure that is followed by an array of one or more OB_OPERATION_REGISTRATION structures.

Requirements

Version

Available starting with Windows Server 2008.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.