Compartilhar via


WNet Provider PKEYs

[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

The following keys are associated with the WNet provider.

PKEY_WNET_Comment

Corresponds to the lpComment member of the NETRESOURCE structure supplied by the NetBIOS provider. This PKEY is present if the PROVIDER_WNET_QUERYCONSTRAINT_PROPERTIES query constraint has a value of WNET_CONSTRAINTVALUE_PROPERTIES_ALL or WNET_CONSTRAINTVALUE_PROPERTIES_LIMITED. PROPVARIANT type VT_LPWSTR.

PKEY_WNET_DisplayType

Corresponds to the dwDisplayType member of the NETRESOURCE structure supplied by the NetBIOS provider. This PKEY is present if the PROVIDER_WNET_QUERYCONSTRAINT_PROPERTIES query constraint has a value of WNET_CONSTRAINTVALUE_PROPERTIES_ALL or WNET_CONSTRAINTVALUE_PROPERTIES_LIMITED. PROPVARIANT type VT_UINT.

PKEY_WNET_LocalName

Corresponds to the lpLocalName member of the NETRESOURCE structure supplied by the NetBIOS provider. This PKEY is present if the PROVIDER_WNET_QUERYCONSTRAINT_PROPERTIES query constraint has a value of WNET_CONSTRAINTVALUE_PROPERTIES_ALL. PROPVARIANT type VT_LPWSTR.

PKEY_WNET_Provider

Corresponds to the lpProvider member of the NETRESOURCE structure supplied by the NetBIOS provider. This PKEY is present if the PROVIDER_WNET_QUERYCONSTRAINT_PROPERTIES query constraint has a value of WNET_CONSTRAINTVALUE_PROPERTIES_ALL. PROPVARIANT type VT_LPWSTR.

PKEY_WNET_RemoteName

Corresponds to the lpRemoteName member of the NETRESOURCE structure supplied by the NetBIOS provider. This PKEY is present if the PROVIDER_WNET_QUERYCONSTRAINT_PROPERTIES query constraint has a value of WNET_CONSTRAINTVALUE_PROPERTIES_ALL. PROPVARIANT type VT_LPWSTR.

PKEY_WNET_Scope

Corresponds to the dwScope member of the NETRESOURCE structure supplied by the NetBIOS provider. This PKEY is present if the PROVIDER_WNET_QUERYCONSTRAINT_PROPERTIES query constraint has a value of WNET_CONSTRAINTVALUE_PROPERTIES_ALL. PROPVARIANT type VT_UINT.

PKEY_WNET_Type

Corresponds to the dwType member of the NETRESOURCE structure supplied by the NetBIOS provider. This PKEY is present if the PROVIDER_WNET_QUERYCONSTRAINT_PROPERTIES query constraint has a value of WNET_CONSTRAINTVALUE_PROPERTIES_ALL. PROPVARIANT type VT_UINT.

PKEY_WNET_Usage

Corresponds to the dwUsage member of the NETRESOURCE structure supplied by the NetBIOS provider. This PKEY is present if the PROVIDER_WNET_QUERYCONSTRAINT_PROPERTIES query constraint has a value of WNET_CONSTRAINTVALUE_PROPERTIES_ALL. PROPVARIANT type VT_UINT.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
FunctionDiscoveryKeys.h

See also

Key Definitions