IRecordInfo interface

Describes the structure of a particular UDT. You can use IRecordInfo any time you need to access the description of UDTs contained in type libraries. IRecordInfo can be reused as needed; there can be many instances of the UDT for a single IRecordInfo pointer.


The IRecordInfo interface inherits from the IUnknown interface. IRecordInfo also has these types of members:


The IRecordInfo interface has these methods.

Method Description
IRecordInfo::GetField Returns a pointer to the VARIANT containing the value of a given field name.
IRecordInfo::GetFieldNames Gets the names of the fields of the record.
IRecordInfo::GetFieldNoCopy Returns a pointer to the value of a given field name without copying the value and allocating resources.
IRecordInfo::GetGuid Gets the GUID of the record type.
IRecordInfo::GetName Gets the name of the record type.
IRecordInfo::GetSize Gets the number of bytes of memory necessary to hold the record instance.
IRecordInfo::GetTypeInfo Retrieves the type information that describes a UDT or safearray of UDTs.
IRecordInfo::IsMatchingType Determines whether the record that is passed in matches that of the current record information.
IRecordInfo::PutField Puts a variant into a field.
IRecordInfo::PutFieldNoCopy Passes ownership of the data to the assigned field by placing the actual data into the field.
IRecordInfo::RecordClear Releases object references and other values of a record without deallocating the record.
IRecordInfo::RecordCopy Copies an existing record into the passed in buffer.
IRecordInfo::RecordCreate Allocates memory for a new record, initializes the instance and returns a pointer to the record.
IRecordInfo::RecordCreateCopy Creates a copy of an instance of a record to the specified location.
IRecordInfo::RecordDestroy Releases the resources and deallocates the memory of the record.
IRecordInfo::RecordInit Initializes a new instance of a record.


Target Platform Windows
Header oaidl.h

See also

UDT Functions and Interfaces

User-Defined Data Types