Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Initializes the Software Licensing Client (SLC) and connects SLC to the Software Licensing Service (SLS). If the function succeeds, a context handle is returned for subsequent calls.
Syntax
HRESULT SLOpen(
[out] HSLC *phSLC
);
Parameters
[out] phSLC
Type: HSLC*
A pointer to a context handle returned from the Software Licensing Service.
Return value
Type: HRESULT WINAPI
If this function succeeds, it return S_OK. Otherwise, it returns an HRESULT error code.
| Return code/value | Description |
|---|---|
|
One or more arguments are not valid. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | slpublic.h |
| Library | Slc.lib |
| DLL | Slc.dll |