IACList2::GetOptions method (shlobj_core.h)

Gets the current autocomplete options.

Syntax

HRESULT GetOptions(
  [out] DWORD *pdwFlag
);

Parameters

[out] pdwFlag

Type: DWORD*

A pointer to a value that will hold the current option flag when the method returns. This can be a combination of the following values.

ACLO_CURRENTDIR

Enumerate the current working directory.

ACLO_DESKTOP

Enumerate the Desktop folder.

ACLO_FAVORITES

Enumerate the Favorites folder.

ACLO_FILESYSONLY

Enumerate only items that are part of the file system. Do not enumerate items contained by virtual folders.

ACLO_FILESYSDIRS

Enumerate only the file system directories, UNC shares, and UNC servers.

ACLO_MYCOMPUTER

Enumerate the My Computer folder.

ACLO_NONE

Do not enumerate anything.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM error value otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h
DLL Shell32.dll (version 5.0 or later)

See also

IACList2