次の方法で共有


IAMStreamControl::GetInfo (Compact 2013)

3/26/2014

This method retrieves information about the current streaming settings.

Syntax

HRESULT GetInfo(
  AM_STREAM_INFO* pInfo
);

Parameters

  • pInfo
    [out] Pointer to an AM_STREAM_INFO structure that contains current stream settings.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

Call this method to discover the state of the StreamControlState enumerated data type, which indicates the stream's state. Other values in the AM_STREAM_INFO structure include start time, stop time, start cookie, and stop cookie.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMStreamControl