IShellFolder2::GetDefaultColumnState method
Gets the default state for a specified column.
Syntax
HRESULT GetDefaultColumnState(
[in] UINT iColumn,
[out] SHCOLSTATEF *pcsFlags
);
Parameters
- iColumn [in]
-
Type: UINT
An integer that specifies the column number.
- pcsFlags [out]
-
Type: SHCOLSTATEF*
A pointer to a value that contains flags that indicate the default column state. This parameter can include a combination of the following flags.
-
A string.
-
An integer.
-
A date.
-
Should be shown by default in the Windows Explorer Details view.
-
Recommends that the folder view extract column information asynchronously, on a background thread, because extracting this information can be time consuming.
-
Provided by a handler, not the folder object.
-
Not displayed in the shortcut menu, but listed in the More dialog box.
-
Not displayed in the user interface.
-
Uses default sorting rather than CompareIDs to get the sort order.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
DLL |
|