<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.1.25080.3" />

IRecordInfo

public static void PopulateVTable(Vtbl* vtable)

public uint AddRef()

public HRESULT GetField(Void* pvData, PCWSTR szFieldName, VARIANT* pvarField)

Returns a pointer to the VARIANT containing the value of a given field name.

public HRESULT GetFieldNames(UInt32* pcNames, BSTR* rgBstrNames)

Gets the names of the fields of the record.

public HRESULT GetFieldNoCopy(Void* pvData, PCWSTR szFieldName, VARIANT* pvarField, Void** ppvDataCArray)

Returns a pointer to the value of a given field name without copying the value and allocating resources.

public HRESULT GetGuid(Guid* pguid)

Gets the GUID of the record type.

public HRESULT GetName(BSTR* pbstrName)

Gets the name of the record type.

public HRESULT GetSize(UInt32* pcbSize)

Gets the number of bytes of memory necessary to hold the record instance.

public HRESULT GetTypeInfo(ITypeInfo** ppTypeInfo)

Retrieves the type information that describes a UDT or safearray of UDTs.

public BOOL IsMatchingType(IRecordInfo* pRecordInfo)

Determines whether the record that is passed in matches that of the current record information.

public HRESULT PutField(uint wFlags, Void* pvData, PCWSTR szFieldName, VARIANT* pvarField)

Puts a variant into a field.

public HRESULT PutFieldNoCopy(uint wFlags, Void* pvData, PCWSTR szFieldName, VARIANT* pvarField)

Passes ownership of the data to the assigned field by placing the actual data into the field.

public HRESULT QueryInterface(Guid* riid, Void** ppvObject)

public HRESULT RecordClear(Void* pvExisting)

Releases object references and other values of a record without deallocating the record.

public HRESULT RecordCopy(Void* pvExisting, Void* pvNew)

Copies an existing record into the passed in buffer.

Allocates memory for a new record, initializes the instance and returns a pointer to the record.

public HRESULT RecordCreateCopy(Void* pvSource, Void** ppvDest)

Creates a copy of an instance of a record to the specified location.

public HRESULT RecordDestroy(Void* pvRecord)

Releases the resources and deallocates the memory of the record.

public HRESULT RecordInit(Void* pvNew)

Initializes a new instance of a record.

public uint Release()