IACList2::SetOptions method
Sets the current autocomplete options.
Syntax
HRESULT SetOptions(
[in] DWORD dwFlag
);
Parameters
- dwFlag [in]
-
Type: DWORD
New option flags. Use these flags to ask the client to include the names of the files and subfolders of the specified folders the next time the client's IEnumString interface is called. This parameter can contain one or more of the following flags.
-
Enumerate the current working directory.
-
Enumerate the Desktop folder.
-
Enumerate the Favorites folder.
-
Enumerate only those items that are part of the file system. Do not enumerate items contained by virtual folders.
-
Enumerate only the file system directories, UNC shares, and UNC servers.
-
Enumerate the My Computer folder.
-
Do not enumerate anything.
Return value
Type: HRESULT
Returns S_OK if successful, or a COM error value otherwise.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
DLL |
|
See also