ProcessGroupPolicyCompleted function (userenv.h)

The ProcessGroupPolicyCompleted function notifies the system that the specified extension has finished applying policy.

Syntax

USERENVAPI DWORD ProcessGroupPolicyCompleted(
  [in] REFGPEXTENSIONID      extensionId,
  [in] ASYNCCOMPLETIONHANDLE pAsyncHandle,
  [in] DWORD                 dwStatus
);

Parameters

[in] extensionId

Specifies the unique GUID that identifies the extension.

[in] pAsyncHandle

Asynchronous completion handle. This handle is passed to the ProcessGroupPolicy function.

[in] dwStatus

Specifies the completion status of asynchronous processing.

Return value

If the function succeeds, the return value is ERROR_SUCCESS. Otherwise, the function returns one of the system error codes. For a complete list of error codes, see System Error Codes or the header file WinError.h.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header userenv.h
Library Userenv.lib
DLL Userenv.dll

See also

Group Policy Functions

Group Policy Overview

ProcessGroupPolicy