IHeaderCtrl::GetColumnText method (mmc.h)
Retrieves text from a specified column.
Syntax
HRESULT GetColumnText(
[in] int nCol,
[out] LPOLESTR *pText
);
Parameters
[in] nCol
A zero-based index that identifies the column from which the text is to be retrieved.
[out] pText
A pointer to the address of the text to be retrieved. This pointer must not be NULL. The user must call CoTaskMemFree on the returned text.
Return value
This method can return one of these values.
Remarks
GetColumnText allocates the string for the result and stores its pointer at the location specified by pText. The caller must free the memory using CoTaskMemFree.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | mmc.h |
DLL | Mmcndmgr.dll |