Thursday, June 16, 2016

BffInitialize

Description


Initialize Bus Filter Framework with the initialization data. This routine must be invoked in DriverEntry after a call to WdfDriverCreate.

Declaration

NTSTATUS BffInitialize(PDRIVER_OBJECT DriverObject,
     PUNICODE_STRING RegistryPath, PBFF_INITIALIZATION_DATA InitData);

Parameters


DriverObjectThe same as DriverEntry's first parameter.
RegistryPathThe same as DriverEntry's second parameter.
InitDataThe initialization data previously prepared by a call to BffSetInitializationData.

Return value


One of the following values:
  1. Zero or any positive value for success;
  2. STATUS_NOT_SUPPORTED if the driver has not called WdfDriverCreate;
  3. STATUS_INVALID_PARAMEER if an invalid parameter is specified; or
  4. Any other negative value for failure.

No comments:

Post a Comment