Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 Additions

ADD
Show:
© 2015 Microsoft