Skip to content

Latest commit

 

History

History
137 lines (95 loc) · 3.13 KB

nf-slpublic-slgetserverstatus.md

File metadata and controls

137 lines (95 loc) · 3.13 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:slpublic.SLGetServerStatus
SLGetServerStatus function (slpublic.h)
Checks the server status according to the specified URL and RequestType.
SLGetServerStatus
SLGetServerStatus function [Security]
SL_INFO_KEY_PRODUCT_ACTIVATION_URL
SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL
SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL
SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL
SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL
security.slgetserverstatus
slpublic/SLGetServerStatus
security\slgetserverstatus.htm
security
3c07fdcc-2282-4d94-ac60-001571cd5da8
12/05/2018
SLGetServerStatus, SLGetServerStatus function [Security], SL_INFO_KEY_PRODUCT_ACTIVATION_URL, SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL, SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL, SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL, SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL, security.slgetserverstatus, slpublic/SLGetServerStatus
slpublic.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Slc.lib
Slc.dll
Windows
19H1
SLGetServerStatus
slpublic/SLGetServerStatus
c++
APIRef
kbSyntax
DllExport
Slc.dll
SLGetServerStatus

SLGetServerStatus function

-description

Checks the server status according to the specified
URL and RequestType.

-parameters

-param pwszServerURL [in]

Type: PCWSTR

The URL of the server.

-param pwszAcquisitionType [in]

Type: PCWSTR

The acquisition type.

SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL (L"SPCURL")

SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL (L"RACURL")

SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL (L"PKCURL")

SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL (L"EULURL")

SL_INFO_KEY_PRODUCT_ACTIVATION_URL (L"PAURL")

-param pwszProxyServer [in, optional]

Type: PCWSTR

The proxy server name. Set to NULL for automatic proxy discovery.

-param wProxyPort [in, optional]

Type: WORD

The proxy server port. Set to 0 to use the default port.

-param phrStatus [out]

Type: HRESULT*

A pointer to the server status.

-returns

Type: HRESULT WINAPI

If this function succeeds, it return S_OK. Otherwise, it returns an HRESULT error code.

Return code/value Description
E_INVALIDARG
0x80070057
One or more arguments are not valid.

-remarks

Callers can either pass in the URL kept by themselves or get the SKU
specific URL by calling the GetProductSkuInformation function and query each
URL.