Thursday, June 16, 2016

BffSetInitializationData

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


InitDataThe pointer to the initialization data, typically declared as a local variable.
TypeThe device type for creation of a bus filter device object.
CharacteristicsThe device characteristics for creation of a bus filter device object.
DeviceAddThe callback function for creation of a bus filter device object.
DeviceRemoveThe callback function for removal of a bus filter device object.

Return value


None.

No comments:

Post a Comment