Export (0) Print
Expand All

IColumnProvider::GetColumnInfo method

Requests information about a column.

Syntax


HRESULT GetColumnInfo(
  DWORD dwIndex,
  [out]  SHCOLUMNINFO *psci
);

Parameters

dwIndex

Type: DWORD

The column's zero-based index. It is an arbitrary value that is used to enumerate columns.

psci [out]

Type: SHCOLUMNINFO*

A pointer to an SHCOLUMNINFO structure to hold the column information.

Return value

Type: HRESULT

Returns a COM error value to indicate that the request was unsuccessful or one of the following values.

Return codeDescription
S_OK

Request successful.

S_FALSE

Column index out of range.

 

Remarks

This method is called to assign an index to the column and to ask for details on what kind of information the column will contain.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shlobj.h

DLL

Shell32.dll (version 5.0 or later)

See also

IColumnProvider

 

 

Community Additions

ADD
Show:
© 2014 Microsoft