EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

SLUnloadApplicationPolicies function

Releases the policy context handle returned by the SLLoadApplicationPolicies function.

Syntax


HRESULT WINAPI SLUnloadApplicationPolicies(
  _In_  HSLP hPolicyContext,
  _In_  DWORD dwFlags
);

Parameters

hPolicyContext [in]

Type: HSLP

The context handle returned by the SLLoadApplicationPolicies function.

dwFlags [in]

Type: DWORD

The additional flags.

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_APPLICATION_POLICIES_NOT_LOADED
0xC004F073

The policy context was not found.

 

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-Beiträge

HINZUFÜGEN
Anzeigen:
© 2015 Microsoft