IDeferredCommand Interface

 
Microsoft DirectShow 9.0

IDeferredCommand Interface

The IDeferredCommand interface cancels or modify graph-control commands that were 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.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.