ProcessGroupPolicyCompletedEx function

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


DWORD ProcessGroupPolicyCompletedEx(
  _In_ REFGPEXTENSIONID      extensionId,
  _In_ ASYNCCOMPLETIONHANDLE pAsyncHandle,
  _In_ DWORD                 dwStatus,
  _In_ HRESULT               RsopStatus
);

Parameters

extensionId [in]

Specifies the unique GUID that identifies the policy extension.

pAsyncHandle [in]

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

dwStatus [in]

Specifies the completion status of asynchronous processing of policy.

RsopStatus [in]

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

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
ProcessGroupPolicy
ProcessGroupPolicyEx
ProcessGroupPolicyCompleted

 

 

Show: