共用方式為


IDvdCmd Interface

 
Microsoft DirectShow 9.0

IDvdCmd Interface

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.)

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

Method Description
WaitForStart Blocks the DVD Navigator until the command associated with this object begins.
WaitForEnd Blocks the DVD Navigator until the command associated with this object completes or is canceled.

Requirements

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

Library: Use Strmiids.lib.

See Also