IDvdCmd interface (strmif.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IDvdCmd interface waits for DVD commands to start or end.

The DVD Navigator creates synchronization objects that expose this interface. The application can use the object to block the DVD Navigator until the command starts or completes. For more information on using this interface, see Synchronizing DVD Commands. (This topic also discusses other ways to synchronize commands without using synchronization objects.)

Inheritance

The IDvdCmd interface inherits from the IUnknown interface. IDvdCmd also has these types of members:

Methods

The IDvdCmd interface has these methods.

 
IDvdCmd::WaitForEnd

The WaitForEnd method blocks the DVD Navigator until the command associated with this object completes or is canceled.
IDvdCmd::WaitForStart

The WaitForStart method blocks the DVD Navigator until the command associated with this object begins.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)

See also

DVD Applications

Synchronizing DVD Commands