WskReleaseProviderNPI function

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

Syntax

void WskReleaseProviderNPI(
  PWSK_REGISTRATION WskRegistration
);

Parameters

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

   
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