次の方法で共有


CBaseFilter::GetState (Compact 2013)

3/26/2014

Retrieves the current state of the filter.

Syntax

HRESULT GetState(
  DWORD dwMilliSecsTimeout,
  FILTER_STATE* State
);

Parameters

  • dwMilliSecsTimeout
    Duration of the time-out, in milliseconds.
  • State
    Returned state of the filter.

Return Value

Returns S_OK.

Remarks

This member function implements the IMediaFilter::GetState method.

It returns the value of the m_State data member.

Override this member function if the state changes in your filter are not synchronous.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseFilter Class