The EnumViewColumnTable method retrieves information about one or more columns from the specified CA database table.

 HRESULT EnumViewColumnTable(
   [in, string, unique] wchar_t const* pwszAuthority,
   [in] DWORD iTable,
   [in] DWORD iColumn,
   [in] DWORD cColumn,
   [out] DWORD* pcColumn,
   [out, ref] CERTTRANSBLOB* pctbColumnInfo
 );

pwszAuthority: See the definition of the pwszAuthority parameter in section 3.1.4.1.1.

iTable: An unsigned integer that specifies the database table to be used for the enumeration. This MUST be set from the following values.

Value

Meaning

0x00000000

Request table

0x00003000

Extension table

0x00004000

Attribute table

0x00005000

CRL table

iColumn: An unsigned integer that specifies the column number with which to begin the enumeration. Valid values are from 0 to one less than the maximum number of columns for the table.

cColumn: An unsigned integer that specifies the requested number of columns to return.

pcColumn: A pointer to an unsigned integer that receives the actual number of CERTTRANSDBCOLUMN structures returned.

pctbColumnInfo: A pointer to a CERTTRANSBLOB structure. Upon return, the pb member of this structure points to an array of the marshaled CERTTRANSDBCOLUMN structures. The format and marshaling for the value of pctbColumnInfo MUST be as specified in section 2.2.1.7.

The EnumViewColumnTable method returns information to the client about columns that are associated with a specific table. The CA server MUST enforce the following processing rules: