Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[in] pTypeInfo
The type information of a record.
[out] ppRecInfo
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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | oleauto.h |
| Library | OleAut32.lib |
| DLL | OleAut32.dll |