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
DriverObject | The same as DriverEntry's first parameter. |
RegistryPath | The same as DriverEntry's second parameter. |
InitData | The initialization data previously prepared by a call to BffSetInitializationData. |
Return value
One of the following values:
- Zero or any positive value for success;
- STATUS_NOT_SUPPORTED if the driver has not called WdfDriverCreate;
- STATUS_INVALID_PARAMEER if an invalid parameter is specified; or
- Any other negative value for failure.
No comments:
Post a Comment