WskQueryProviderCharacteristics function (wsk.h)

The WskQueryProviderCharacteristics function queries the range of WSK NPI versions supported by the WSK subsystem.

Syntax

NTSTATUS WskQueryProviderCharacteristics(
  [in]  PWSK_REGISTRATION             WskRegistration,
  [out] PWSK_PROVIDER_CHARACTERISTICS WskProviderCharacteristics
);

Parameters

[in] WskRegistration

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

[out] WskProviderCharacteristics

A pointer to the range of WSK NPI versions supported by the WSK subsystem.

Return value

WskQueryProviderCharacteristics returns one of the following NTSTATUS codes:

Return code Description
STATUS_SUCCESS
The query completed successfully.
STATUS_DEVICE_NOT_READY
The provider NPI was not yet available.
Other status codes
The query failed.

Remarks

WSK clients can use this function to determine the WSK NPI versions supported by the WSK subsystem.

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_PROVIDER_CHARACTERISTICS

WSK_REGISTRATION