GetRecordInfoFromGuids function
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.
Syntax
HRESULT GetRecordInfoFromGuids( _In_ REFGUID rGuidTypeLib, _In_ ULONG uVerMajor, _In_ ULONG uVerMinor, _In_ LCID lcid, _In_ REFGUID rGuidTypeInfo, _Out_ IRecordInfo **ppRecInfo );
Parameters
- rGuidTypeLib [in]
-
The GUID of the type library containing the UDT.
- uVerMajor [in]
-
The major version number of the type library of the UDT.
- uVerMinor [in]
-
The minor version number of the type library of the UDT.
- lcid [in]
-
The locale ID of the caller.
- rGuidTypeInfo [in]
-
The GUID of the typeinfo that describes the UDT.
- ppRecInfo [out]
-
The IRecordInfo interface.
Return value
This function can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
One or more of the arguments is not valid. |
Remarks
A pointer to IRecordInfo can be serialized by writing out the GUIDs and version numbers and deserialized by loading the information and passing it to GetRecordInfoFromGuids.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|