PFN_WSK_FREE_ADDRESS_INFO callback function

The WskFreeAddressInfo function frees address information that the WskGetAddressInfo function has dynamically allocated.

Syntax

PFN_WSK_FREE_ADDRESS_INFO PfnWskFreeAddressInfo;

void PfnWskFreeAddressInfo(
  PWSK_CLIENT Client,
  PADDRINFOEXW AddrInfo
)
{...}

Parameters

Client

[in] A pointer to a WSK_CLIENT structure that was returned through the WskProviderNpi parameter of the WskCaptureProviderNPI function.

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

   
Windows version Available in Windows 7 and later versions of the Windows operating systems.
Target Platform Universal
Header wsk.h (include Wsk.h)
IRQL PASSIVE_LEVEL

See Also

WSK_CLIENT

WskCaptureProviderNPI

WskGetAddressInfo