NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS_INIT function (netdevice.h)
The NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS_INIT function initializes a NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS structure.
Syntax
void NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS_INIT(
[_Out_] NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS *Callbacks
);
Parameters
[_Out_] Callbacks
A pointer to a driver-allocated NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS structure.
Return value
None
Remarks
This function zeroes out the NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS structure, then fills in the Size member. After calling this function, call NetDeviceInitSetPowerPolicyEventCallbacks during device initialization before you call WdfDeviceCreate.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Target Platform | Universal |
Header | netdevice.h (include netadaptercx.h) |
IRQL | Any level as long as target memory is resident |
See also
NET_DEVICE_POWER_POLICY_EVENT_CALLBACKS
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for