CElemDesc();
CElemDesc (ELEMDESC *pElemDesc, ITypeInfo *ptiSrc);
CElemDesc (CElemDesc *pElemDesc);
Parameters
pElemDesc
Pointer to a structure from which to create a new CElemDesc object.
ptiSrc
Pointer to the source type information object that contains the requested ELEMDESC object.
Remarks
The default constructor creates a blank element descriptor. You must set the type attributes of this object.
The second constructor creates a CElemDesc object from an existing ELEMDESC structure that has been retrieved from an existing type information object. The ptiSrc parameter specifies a pointer to this ITypeInfo object and is required if the type of the ELEMDESC is VT_USERDEFINED.
The third constructor creates a CElemDesc object from an existing CElemDesc object, pointed to by pElemDesc.