SLReArm function (slpublic.h)
This function is rearm application activation.
Syntax
HRESULT SLReArm(
[in] HSLC hSLC,
[in] const SLID *pApplicationId,
[in, optional] const SLID *pProductSkuId,
[in] DWORD dwFlags
);
Parameters
[in] hSLC
Type: HSLC
The handle to the current SLC context.
[in] pApplicationId
Type: const SLID*
A pointer to the application ID.
[in, optional] pProductSkuId
Type: const SLID*
A pointer to the product SKU ID.
[in] dwFlags
Type: DWORD
Flags for ReArm behavior. Valid values are 0 or
SL_REARM_REBOOT_REQUIRED. Passing SL_REARM_REBOOT_REQUIRED will
require a reboot before a function using the security processor can
succeed.
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 |