Microsoft DirectX 9.0 |
The CanStep method determines the stepping capabilities of the specified filter.
Syntax
HRESULT CanStep(
long bMultiple,
IUnknown *pStepObject
);
Parameters
bMultiple
If bMultiple is zero and the method returns S_OK, the graph can step one frame at a time. If bMultiple if greater than zero and the method returns S_OK, the graph can step bMultiple frames at a time.
pStepObject
Pointer to an interface on the filter that will control the stepping operation. Specify NULL to perform frame stepping using the renderer filter in the graph. If the graph includes a custom filter that implements the frame stepping, then pStepObject should specify that filter's IBaseFilter interface.
Return Values
Returns S_OK if the object can step or E_INVALIDARG if pStepObject is invalid.
See Also