CMediaControl::GetTypeInfoCount

 
Microsoft DirectShow 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.

Requirements

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

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

See Also