ProcessGroupPolicyCompletedEx function (userenv.h)

The ProcessGroupPolicyCompletedEx function notifies the system that the specified policy extension has finished applying policy. The function also reports the status of Resultant Set of Policy (RSoP) logging.

Syntax

USERENVAPI DWORD ProcessGroupPolicyCompletedEx(
  [in] REFGPEXTENSIONID      extensionId,
  [in] ASYNCCOMPLETIONHANDLE pAsyncHandle,
  [in] DWORD                 dwStatus,
  [in] HRESULT               RsopStatus
);

Parameters

[in] extensionId

Specifies the unique GUID that identifies the policy extension.

[in] pAsyncHandle

Asynchronous completion handle. This handle is passed to the ProcessGroupPolicyEx callback function.

[in] dwStatus

Specifies the completion status of asynchronous processing of policy.

[in] RsopStatus

Specifies an HRESULT return code that indicates the status of RSoP logging.

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

ProcessGroupPolicyCompleted

ProcessGroupPolicyEx