GetRecordInfoFromTypeInfo function
Returns a pointer to the IRecordInfo interface of the UDT by passing its type information. The given ITypeInfo interface is used to create a RecordInfo object.
Syntax
HRESULT GetRecordInfoFromTypeInfo( _In_ ITypeInfo *pTypeInfo, _Out_ IRecordInfo **ppRecInfo );
Parameters
- pTypeInfo [in]
-
The type information of a record.
- ppRecInfo [out]
-
The IRecordInfo interface.
Return value
This function can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
Out of memory. |
|
One or more of the arguments is not valid. |
|
The type is not an interface. |
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: