IRecordInfo::GetGuid method (oaidl.h)

Gets the GUID of the record type.

Syntax

HRESULT GetGuid(
  [out] GUID *pguid
);

Parameters

[out] pguid

The class GUID of the TypeInfo that describes the UDT.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
TYPE_E_INVALIDSTATE
The state of the type library is not valid for this operation.
E_INVALIDARG
One or more of the arguments is not valid.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

IRecordInfo