FreeGPOList function

The FreeGPOList function frees the specified list of GPOs.

Syntax


BOOL FreeGPOList(
  _In_ PGROUP_POLICY_OBJECT pGPOList
);

Parameters

pGPOList [in]

A pointer to the list of GPO structures. This list is returned by the GetGPOList or GetAppliedGPOList function. For more information, see GROUP_POLICY_OBJECT.

Return value

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Userenv.h

Library

Userenv.lib

DLL

Userenv.dll

Unicode and ANSI names

FreeGPOListW (Unicode) and FreeGPOListA (ANSI)

See also

Group Policy Overview
Group Policy Functions
GetAppliedGPOList
GetGPOList
GROUP_POLICY_OBJECT

 

 

Show: