CBaseStreamControl::GetInfo

 
Microsoft DirectShow 9.0

CBaseStreamControl::GetInfo

The GetInfo method retrieves information about the current stream-control settings, including the start and stop times. This method implements the IAMStreamControl::GetInfo method.

Syntax

  HRESULT GetInfo(
    AM_STREAM_INFO *pInfo
);

Parameters

pInfo

Pointer to an AM_STREAM_INFO structure, allocated by the caller, that receives the current stream-control settings.

Return Values

Returns S_OK or E_POINTER.

Requirements

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

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

See Also