OLE DB Programmer's Reference

IDCInfo::GetInfo

HRESULT GetInfo(
   ULONG        cInfo,
   DCINFOTYPE   rgeInfoType[],
   DCINFO **    prgInfo);

Parameters

cInfo

[in]
The number of settings for which to return the information.

rgeInfoType

[in]
An array of DCINFOTYPE structures. The indicator of the information type. The Data Conversion component supports the DCINFOTYPE_VERSION information type.

prgInfo

[out]
A pointer to memory in which to return an array of DCINFO structures.

The DCINFO structure is as follows:

typedef struct   tagDCINFO {
   DCINFOTYPE    eInfoType;
   VARIANT       vData;
} DCINFO;

The elements of this structure are used as described in the following table.

Element Description
eInfoType The type of information.
vData A VARIANT that contains the information to be set. For DCINFOTYPE_VERSION, the variant type is VT_UI4.