Microsoft DirectX 9.0

CMediaControl::GetTypeInfoCount

Retrieves the number of type-information interfaces provided by an object.

Syntax

HRESULT GetTypeInfoCount(
    UINT *pctinfo
);

Parameters

pctinfo

Pointer to the number of type-information interfaces that the object provides. If the object provides type information, this number is 1; otherwise, the number is 0.

Return Value

Returns E_POINTER if pctinfo is invalid; otherwise, returns S_OK.

See Also