EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

SLGetPolicyInformationDWORD function

Gets the policy information after right has been consumed successfully.

Syntax


HRESULT WINAPI SLGetPolicyInformationDWORD(
  _In_   HSLC hSLC,
  _In_   PCWSTR pwszValueName,
  _Out_  DWORD *pdwValue
);

Parameters

hSLC [in]

Type: HSLC

The handle to the current SLC context.

pwszValueName [in]

Type: PCWSTR

The policy name.

pdwValue [out]

Type: DWORD*

A pointer to the return value.

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.

SL_E_VALUE_NOT_FOUND
0xC004F012

The value for the input key was not found.

SL_E_RIGHT_NOT_GRANTED
0xC004F013

The caller does not have permission to run the software.

SL_E_DATATYPE_MISMATCHED
0xC004F01E

The input data type does not match the data type in the license.

 

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

 

 

コミュニティの追加

追加
表示:
© 2014 Microsoft