IGPEInformation::GetOptions method (gpedit.h)

The GetOptions method retrieves the options the user has selected for the Group Policy Object Editor.

Syntax

HRESULT GetOptions(
  [out] DWORD *dwOptions
);

Parameters

[out] dwOptions

Receives a bitmask value representing the options the user has selected. Currently, this parameter returns only zero.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in the Platform SDK header file WinError.h.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpedit.h
DLL Gpedit.dll

See also

Group Policy Interfaces

Group Policy Overview

IGPEInformation