Description
Prepare the initialization data for BFF. Obviously, this routine must be called before BffInitialize. After this call, InitData->PnPMinorFunction[IRP_MN_*] will be NULL-initialized. You may selectively re-initialize InitData->PnPMinorFunction[IRP_MN_*] with your own handlers before calling BffInitialize.
Declaration
VOID BffSetInitializationData(PBFF_INITIALIZATION_DATA InitData,
DEVICE_TYPE Type, ULONG Characteristics,
PBFF_DEVICE_ADD DeviceAdd, PBFF_DEVICE_REMOVE DeviceRemove);
Parameters
InitData | The pointer to the initialization data, typically declared as a local variable. |
Type | The device type for creation of a bus filter device object. |
Characteristics | The device characteristics for creation of a bus filter device object. |
DeviceAdd | The callback function for creation of a bus filter device object. |
DeviceRemove | The callback function for removal of a bus filter device object. |
Return value
None.
No comments:
Post a Comment