Export (0) Print
Expand All

SLClose function

Closes the Software Licensing Client (SLC) context handle. When this function is called, the associated context on the Software Licensing Service (SLS) is released.

Syntax


HRESULT WINAPI SLClose(
  _In_  HSLC hSLC
);

Parameters

hSLC [in]

Type: HSLC

The handle to the current SLC context.

Return value

Type: HRESULT WINAPI

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

Return code/valueDescription
E_INVALIDARG
0x80070057

One or more arguments are not valid.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Slpublic.h

Library

Slc.lib

DLL

Slc.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft