PFN_WSK_FREE_ADDRESS_INFO callback function (wsk.h)
The WskFreeAddressInfo function frees address information that the WskGetAddressInfo function has dynamically allocated.
Syntax
PFN_WSK_FREE_ADDRESS_INFO PfnWskFreeAddressInfo;
void PfnWskFreeAddressInfo(
[in] PWSK_CLIENT Client,
[in] PADDRINFOEXW AddrInfo
)
{...}
Parameters
[in] Client
[in] A pointer to a WSK_CLIENT structure that was returned through the WskProviderNpi parameter of the WskCaptureProviderNPI function.
[in] AddrInfo
[in] A pointer to a linked list of one or more ADDRINFOEXW structures that contain response information about the host. This pointer was returned through the Result parameter of the WskGetAddressInfo function.
The ADDRINFOEXW structure is defined in the Ws2def.h header file. It is identical to the addrinfoex structure.
Important The
Ws2def.h header file is automatically included in
Wsk.h. Do not use
Ws2def.h directly.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 7 and later versions of the Windows operating systems. |
Target Platform | Universal |
Header | wsk.h (include Wsk.h) |
IRQL | PASSIVE_LEVEL |