WskReleaseProviderNPI function

The WskReleaseProviderNPI function releases a Network Programming Interface (NPI) that was captured with WskCaptureProviderNPI.

Syntax


VOID WskReleaseProviderNPI(
  _In_ PWSK_REGISTRATION WskRegistration
);

Parameters

WskRegistration [in]

A pointer to the memory location initialized by WskRegister that identifies a WSK application's registration instance.

Return value

None

Remarks

For each call to WskCaptureProviderNPI that returns a success code, there must be exactly one corresponding WskReleaseProviderNPI call that uses the same WskRegistration parameter that was passed to WskCaptureProviderNPI.

Requirements

Target platform

Universal

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Wsk.h (include Wsk.h)

Library

Netio.lib

IRQL

<= DISPATCH_LEVEL

See also

WskCaptureProviderNPI
WSK_REGISTRATION

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft