Share via


CMediaPosition::GetTypeInfoCount

 
Microsoft DirectShow 9.0

CMediaPosition::GetTypeInfoCount

The GetTypeInfoCount method retrieves the number of type information interfaces the object provides.

Syntax

  HRESULT GetTypeInfoCount(
    UINT *pctinfo
);

Parameters

pctinfo

Pointer to a variable that receives the number of type-information interfaces provided by the object. When the method returns, the value is 1.

Return Value

Returns one of the following values.

Value Description
S_OK Success.
E_POINTER Null pointer argument.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also