|Microsoft DirectX 9.0|
The GetCommandDueFor method retrieves a deferred command that is scheduled at a specified time.
virtual HRESULT GetCommandDueFor( REFERENCE_TIME tStream, CDeferredCommand **ppCmd );
Time for which the command is scheduled.
Address of a pointer to the deferred command to be carried out at the time specified in the tStream parameter.
Returns VFW_E_NOT_FOUND if no commands are due; otherwise, returns S_OK.
This member function takes a stream time and returns the deferred command scheduled at that time. The actual stream-time offset is calculated when the command queue is run. Commands remain queued until run or canceled. This member function will not block.