Microsoft DirectX 8.1 (C++)

IDeferredCommand Interface

The IDeferredCommand interface enables an application to cancel or modify graph-control commands that the application previously queued using the IQueueCommand interface.

When an application calls an IQueueCommand method on the filter graph manager, it receives a pointer to the IDeferredCommand interface. The application can use the interface to cancel or postpone the command, or retrieve the return value from the command.

In addition to the methods inherited from IUnknown, the IDeferredCommand interface exposes the following methods.

Method Description
Cancel Cancels a command that the application previously queued.
Confidence Retrieves a confidence value that indicates how likely it is for the command to be invoked at the requested time.
GetHResult Retrieves the return value from the invoked command.
Postpone Specifies a new invocation time for the command.