Go to the source code of this file.
◆ PFN_WDF_SYSTEMWORKITEM
◆ PSTACK_DEVICE_CAPABILITIES
◆ STACK_DEVICE_CAPABILITIES
◆ __drv_functionClass()
| __drv_functionClass |
( |
EVT_SYSTEMWORKITEM |
| ) |
|
◆ SendDeviceUsageNotificationWorker()
Definition at line 263 of file supportkm.cpp.
269{
272
273 relatedTopOfStack.
SetObject(RelatedDevice->GetAttachedDeviceReference());
275
276
277
278
279
281
282 if (Revert) {
283 RelatedIrp->SetParameterUsageNotificationInPath(
284 !RelatedIrp->GetNextStackParameterUsageNotificationInPath());
285 }
286
288
289 status = RelatedIrp->SendIrpSynchronously(relatedTopOfStack.
GetObject());
290
292
294}
__inline VOID SetObject(__in_opt MdDeviceObject DeviceObject)
__inline MdDeviceObject GetObject(VOID)
_In_ PTRANSFER_PACKET _In_ ULONG _In_ PIRP OriginalIrp
#define STATUS_NOT_SUPPORTED
Referenced by _DeviceUsageNotificationWorkItem(), and SendDeviceUsageNotification().
◆ _DeviceUsageNotificationWorkItem
| IO_WORKITEM_ROUTINE _DeviceUsageNotificationWorkItem |