Thursday, June 16, 2016

BFF_DEVICE_ADD / PBFF_DEVICE_ADD

Description


Callback function for creation of a bus filter device object. Before this call, a WDF object, BffDevice, and its underlying WDM device object had been created, and the latter in particular was then attached to the next lower device object. See also BFF_DEVICE_CONFIG / PBFF_DEVICE_CONFIG.

Declarations

typedef NTSTATUS BFF_DEVICE_ADD(WDFDEVICE Device, WDFOBJECT BffDevice);
typedef BFF_DEVICE_ADD *PBFF_DEVICE_ADD;

Parameters


DeviceThe parent WDF device object, i.e., the upper filter device object.
BffDeviceThe WDF object as a bus filter device object.

Return value


Zero or any positive value for success, otherwise for failure.

No comments:

Post a Comment