NetAdapterWakeSetPacketFilterCapabilities function (netadapter.h)
The NetAdapterWakeSetPacketFilterCapabilities function sets a net adapter's packet filter wake on LAN (WoL) capabilities.
Syntax
void NetAdapterWakeSetPacketFilterCapabilities(
[_In_] NETADAPTER Adapter,
[_In_] const NET_ADAPTER_WAKE_PACKET_FILTER_CAPABILITIES *Capabilities
);
Parameters
[_In_] Adapter
A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.
[_In_] Capabilities
A pointer to a client driver-allocated and initialized NET_ADAPTER_WAKE_PACKET_FILTER_CAPABILITIES structure.
Return value
None
Remarks
Client drivers must call NET_ADAPTER_WAKE_PACKET_FILTER_CAPABILITIES_INIT to initialize the NET_ADAPTER_WAKE_PACKET_FILTER_CAPABILITIES structure, then set the structure's members appropriately before calling this function. Client drivers typically call this function from within their EvtDevicePrepareHardware callback, but must call this function before calling NetAdapterStart.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Target Platform | Universal |
Header | netadapter.h (include netadaptercx.h) |
Library | netadaptercxstub.lib |
IRQL | PASSIVE_LEVEL |
See also
NET_ADAPTER_WAKE_PACKET_FILTER_CAPABILITIES
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