IColumnMapper::EnumPropInfo method (indexsrv.h)

Gets the i-th entry from the list of properties.

Syntax

HRESULT EnumPropInfo(
  [in]  ULONG        iEntry,
  [out] const WCHAR  **pwcsName,
  [out] DBID         **ppPropId,
  [out] DBTYPE       *pPropType,
  [out] unsigned int *puiWidth
);

Parameters

[in] iEntry

i-th entry to retrieve. Note that the entries are 0-based.

[out] pwcsName

The return property name.

[out] ppPropId

The Id of the property.

[out] pPropType

The return type of the property.

[out] puiWidth

The return property width.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header indexsrv.h
Redistributable Windows NT 4.0 Option Pack

See also

IColumnMapper