|Microsoft DirectX 9.0|
The GetState method retrieves the object's state (running, stopped, or paused). This method implements the IMediaFilter::GetState method.
HRESULT GetState( DWORD dwMilliSecsTimeout, FILTER_STATE *State );
Time-out interval, in milliseconds.
Pointer to a variable that receives a member of the FILTER_STATE enumerated type, indicating the object's state.
Returns S_OK or E_POINTER.
In the base class, all state transitions are synchronous and the dwMilliSecsTimeout parameter is ignored. If a derived class performs asynchronous state transitions, it should override this method to wait during state transitions, with a time-out of dwMilliSecsTimeout milliseconds.