Microsoft DirectX 9.0

DVD_CMD_FLAGS Enumeration

Defines flags that control how the DVD Navigator Filter filter handles command synchronization.

Syntax

typedef enum {
    DVD_CMD_FLAG_None          = 0x00000000,
    DVD_CMD_FLAG_Flush         = 0x00000001,
    DVD_CMD_FLAG_SendEvents    = 0x00000002,
    DVD_CMD_FLAG_Block         = 0x00000004,
    DVD_CMD_FLAG_StartWhenRendered  = 0x00000008,
    DVD_CMD_FLAG_EndAfterRendered   = 0x00000010
} DVD_CMD_FLAGS;

Elements

DVD_CMD_FLAG_None

Tells the DVD Navigator not to flush the buffers when new commands are issued, not to send any events, and not to block the thread of execution on any method call.

DVD_CMD_FLAG_Flush

Tells the DVD Navigator, when it receives a new command such as IDvdControl2::PlayTitle or IDvdControl2::PlayForwards, to discard the approximately two seconds of video currently in the buffer and create an instance of the new command immediately.

DVD_CMD_FLAG_SendEvents

Tells the DVD Navigator to send events to the application when asynchronous operations are complete. The event parameters will contain the return value of the operation.

DVD_CMD_FLAG_Block

Tells the DVD Navigator to block on asynchronous operations until the operation completes or is canceled.

DVD_CMD_FLAG_StartWhenRendered

Currently unused.

DVD_CMD_FLAG_EndAfterRendered

Used with certain functions to cause the DVD Navigator to block until the specified action is actually being rendered. For example, when used with IDvdControl2::PlayChaptersAutoStop, this flag will cause the DVD Navigator to block until the specified chapters have all played. When used with IDvdControl2::SelectSubpictureStream, the flag will cause the Navigator to block until the new subpicture is actually appearing on the rendered display. Used with these functions: IDvdControl2::PlayChaptersAutoStop, IDvdControl2::PlayPeriodInTitleAutoStop, IDvdControl2::SelectSubpictureStream, and IDvdControl2::SetSubpictureState.

See Also