ProcessGroupPolicyCompleted function

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

Syntax

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

Parameters

extensionId

Specifies the unique GUID that identifies the extension.

pAsyncHandle

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

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

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header userenv.h
Library Userenv.lib
DLL Userenv.dll

See Also

Group Policy Functions

Group Policy Overview

ProcessGroupPolicy