Microsoft DirectX 9.0

CMediaPosition::GetTypeInfo

The GetTypeInfo method retrieves the type information for the object, which can then be used to get the type information for an interface.

Syntax

HRESULT GetTypeInfo(
    UINT itinfo,
    LCID lcid,
    ITypeInfo **pptinfo
);

Parameters

itinfo

Type information to return. Must be zero.

lcid

Locale identifier.

pptinfo

Address of a variable that receives an ITypeInfo pointer.

Return Value

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_POINTER Null pointer argument.
TYPE_E_ELEMENTNOTFOUND The itinfo parameter is not zero.

See Also