Partager via


UDT Functions and Interfaces

The support functions for user-defined data types help you store UDTs in VARIANTS. The support functions help you create a self-describing array of records, without the need of loading the type library of the UDT. The IRecordInfo interface describes the structure of a UDT.

The following table describes the UDT functions and interfaces:

In this section

Topic Description
ClearCustData
Releases memory used to hold the custom data item.
GetRecordInfoFromGuids
Returns a pointer to the IRecordInfo interface for a UDT by passing the GUID of the type information without having to load the type library.
GetRecordInfoFromTypeInfo
Returns a pointer to the IRecordInfo interface of the UDT by passing its type information.
IRecordInfo
Describes the structure of a particular UDT.