Saturday, August 29, 2026

BffDeviceWdmAcquireRemoveLock

 

Description


Acquire the RemoveLock of the specified BFF device. Call this function only in BFF_DISPATCH_PNP or in processing of Irp.

Declaration

NTSTATUS BffDeviceWdmAcquireRemoveLock(BFFDEVICE BffDevice, PIRP Irp);

Parameter


BffDeviceThe WDF object as a bus filter device object.
IrpThe PnP I/O request packet.

Return value


STATUS_SUCCESS if the RemoveLock is acquired; otherwise, STATUS_DELETE_PENDING if the device is being removed.

No comments:

Post a Comment