Partager via


IAMStreamControl::GetInfo

 
Microsoft DirectShow 9.0

IAMStreamControl::GetInfo

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

Syntax

  HRESULT GetInfo(
  AM_STREAM_INFO *pInfo
);

Parameters

pInfo

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

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_POINTER NULL pointer value.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also