WskReleaseProviderNPI function (wsk.h)

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

Syntax

void WskReleaseProviderNPI(
  [in] PWSK_REGISTRATION WskRegistration
);

Parameters

[in] WskRegistration

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

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Universal
Header wsk.h (include Wsk.h)
Library Netio.lib
IRQL <= DISPATCH_LEVEL

See also

WSK_REGISTRATION

WskCaptureProviderNPI