POFXCALLBACKREQUESTWORKER callback function (pepfx.h)
The RequestWorker routine is called by a platform extension plug-in (PEP) to inform the Windows power management framework (PoFx) that the platform extension plug-in (PEP) has a work request to submit on behalf of the specified device.
Syntax
POFXCALLBACKREQUESTWORKER Pofxcallbackrequestworker;
void Pofxcallbackrequestworker(
[in] POHANDLE PluginHandle
)
{...}
Parameters
[in] PluginHandle
A POHANDLE value that represents the registration of the device with PoFx. The PEP previously received this handle from PoFx during the PEP_DPM_REGISTER_DEVICE notification that informed the PEP that the device's driver stack registered the device with PoFx.
Return value
None
Remarks
This routine is implemented by PoFx and is called by the PEP. The RequestWorker member of the PEP_KERNEL_INFORMATION_STRUCT_V3 structure is a pointer to a RequestWorker routine.
Each time the PEP calls this routine, PoFx responds by sending a PEP_DPM_WORK notification to the PEP. This notification might be delayed if a worker thread is not immediately available to process the work request.
A PEP can call this routine at IRQL <= DISPATCH_LEVEL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported starting with Windows 10. |
Target Platform | Windows |
Header | pepfx.h (include Pep_x.h) |
IRQL | <= DISPATCH_LEVEL |