IRecordInfo::GetTypeInfo method

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

Syntax


HRESULT GetTypeInfo(
  [out] ITypeInfo **ppTypeInfo
);

Parameters

ppTypeInfo [out]

The information type of the record.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

One or more of the arguments is not valid.

TYPE_E_INVALIDSTATE

The state of the type library is not valid for this operation.

 

Remarks

AddRef is called on the pointer ppTypeInfo.

Requirements

IDL

OaIdl.idl

See also

IRecordInfo
ITypeInfo

 

 

Show: