LeaveCriticalPolicySection

LeaveCriticalPolicySection function

The LeaveCriticalPolicySection function resumes the background application of policy. This function closes the handle to the policy section.

Syntax


BOOL LeaveCriticalPolicySection(
  _In_ HANDLE hSection
);

Parameters

hSection [in]

Handle to a policy section, which is returned by the EnterCriticalPolicySection function.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Userenv.h

Library

Userenv.lib

DLL

Userenv.dll

See also

Group Policy Overview
Group Policy Functions
EnterCriticalPolicySection

 

 

Show:
© 2016 Microsoft