Platform SDK: Group Policy

LeaveCriticalPolicySection

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

BOOL LeaveCriticalPolicySection(
  HANDLE hSection
);

Parameters

hSection
[in] Handle to a policy section, which is returned by the EnterCriticalPolicySection function.

Return Values

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

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Userenv.h.
  Library: Use Userenv.lib.

See Also

Group Policy Overview, Group Policy Functions, EnterCriticalPolicySection