Platform SDK: Group Policy

FreeGPOList

The FreeGPOList function frees the specified GPO list.

BOOL FreeGPOList(
  PGROUP_POLICY_OBJECT *pGPOList
);

Parameters

pGPOList
[in] 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 Values

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

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Userenv.h.
  Library: Use Userenv.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows 2000.

See Also

Group Policy Overview, Group Policy Functions, GetAppliedGPOList, GetGPOList, GROUP_POLICY_OBJECT