Compartilhar via


3.1.4.1.9 ICertAdminD::EnumViewColumn (Opnum 11)

The EnumViewColumn method returns an array of column information.

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

pwszAuthority:  See the definition of the pwszAuthority parameter in ICertAdminD::SetExtension (section 3.1.4.1.1).

iColumn: An unsigned integer that specifies the identifier of the column with which to begin the enumeration. Valid values are from 0 to one less than the maximum number of columns for the Request 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 by the server in the pctbColumnInfo parameter.

pctbColumnInfo: A pointer to a CERTTRANSBLOB structure. Upon return, the pb member of this structure points to an array of the marshaled CERTTRANSDBCOLUMN structures as described in section 2.2.1.7.

The EnumViewColumn method returns information about the columns that are associated with the Request table to the client. The processing rules for this method are the same as for the EnumViewColumnTable method with the iTable parameter set to 0x00000000.