NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES_INIT function (netadapter.h)
The NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES_INIT function initializes a NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES structure.
Syntax
void NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES_INIT(
[_Out_] NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES *Capabilities
);
Parameters
[_Out_] Capabilities
A pointer to a client driver-allocated NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES* structure.
Return value
None
Remarks
This function zeroes out the memory for the NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES structure, then sets the Size member. After calling this function to initialize the NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES structure, set the remaining members of the structure according to your hardware's capabilities, then call NetAdapterWakeSetMediaChangeCapabilities to set the net adapter's media change wake on LAN (WoL) capabilities. Client drivers typically call NetAdapterWakeSetMediaChangeCapabilities when starting a net adapter, but before calling NetAdapterStart.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Target Platform | Universal |
Minimum UMDF version | 2.33 |
Header | netadapter.h (include netadaptercx.h) |
IRQL | Any level as long as target memory is resident |
See also
NET_ADAPTER_WAKE_MEDIA_CHANGE_CAPABILITIES