SLReArm function
This function is rearm application activation.
Syntax
HRESULT WINAPI SLReArm( _In_ HSLC hSLC, _In_ const SLID *pApplicationId, _In_opt_ const SLID *pProductSkuId, _In_ DWORD dwFlags );
Parameters
- hSLC [in]
-
Type: HSLC
The handle to the current SLC context.
- pApplicationId [in]
-
Type: const SLID*
A pointer to the application ID.
- pProductSkuId [in, optional]
-
Type: const SLID*
A pointer to the product SKU ID.
- dwFlags [in]
-
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
Minimum supported client |
Windows 8 [desktop apps only] |
---|---|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Header |
|
Library |
|
DLL |
|