IColumnManager::GetColumnInfo Method
Gets information about each column: width, visibility, display name, and state.
Syntax
HRESULT GetColumnInfo( REFPROPERTYKEY propkey, CM_COLUMNINFO *pcmci );
Parameters
- propkey
[in] A reference to a PROPERTYKEY structure.- pcmci
[out] On success, contains a pointer to a CM_COLUMNINFO structure containing the column information.
Return Value
Returns one of the following values.
S_OK Column information obtained. failure Column information not obtained. E_INVALIDARG Indicates that cbSize member of pcmci doesn't equal the size of CM_COLUMNINFO.