Share via


DVD-Video API Macros

The following macros are defined for the DVD-Video API.

#define DVD_SYSTEM_SPACE_BIT         1
#define DVD_MENU_SPACE_BIT           (DVD_SYSTEM_SPACE_BIT << 1)
#define DVD_VMG_SPACE_BIT            (DVD_MENU_SPACE_BIT << 1)
#define DVD_VTS_SPACE_BIT            (DVD_VMG_SPACE_BIT << 1)
 
#define DVD_NAVSTATREQ_VOLUME_BIT    1
#define DVD_NAVSTATREQ_HIGHLIGHT_BIT (DVD_NAVSTATREQ_VOLUME_BIT << 1)
#define DVD_NAVSTATREQ_PCI_BIT       (DVD_NAVSTATREQ_HIGHLIGHT_BIT << 1)
 
#define DVD_PROGRAM_PREVIOUS         0
#define DVD_PROGRAM_NEXT             1
#define DVD_PROGRAM_TOP              2

#define DVD_MENU_TITLE               0
#define DVD_MENU_ROOT                1
#define DVD_MENU_SUBPICTURE          2
#define DVD_MENU_AUDIO               3
#define DVD_MENU_ANGLE               4
#define DVD_MENU_PTT                 5

#define DVD_SELECT_UPPER             0
#define DVD_SELECT_RIGHT             1
#define DVD_SELECT_LOWER             2
#define DVD_SELECT_LEFT              3

#define DVD_SCANCAP_FORWARD_SCAN     0x1
#define DVD_SCANCAP_FORWARD_SLOW     0x2
#define DVD_SCANCAP_FORWARD_SINGLE   0x4
#define DVD_SCANCAP_BACKWARD_SCAN    0x8
#define DVD_SCANCAP_BACKWARD_SLOW    0x10
#define DVD_SCANCAP_BACKWARD_SINGLE  0x20

Remarks

The following table groups the DVD-Video API macros and describes their typical uses.

Macros Description
DVD_SYSTEM_SPACE_BIT
DVD_MENU_SPACE_BIT
DVD_VMG_SPACE_BIT
DVD_VTS_SPACE_BIT
Used to identify a DVD-Video space. For more information, see IDVDDomain::GetSpace.
DVD_NAVSTATREQ_VOLUME_BIT
DVD_NAVSTATREQ_HIGHLIGHT_BIT
DVD_NAVSTATREQ_PCI_BIT
Used to identify the navigation manager status. For more information, see IDVDNavDataStatusSink.
DVD_PROGRAM_PREVIOUS
DVD_PROGRAM_NEXT
DVD_PROGRAM_TOP
Used to navigate between programs (PG). For more information, see IDVDUserOperation::ProgramSearch.
DVD_MENU_TITLE
DVD_MENU_ROOT
DVD_MENU_SUBPICTURE
DVD_MENU_AUDIO
DVD_MENU_ANGLE
DVD_MENU_PTT
Used when navigating DVD-Video menus. For more information, see IDVDUserOperation::MenuCall.
DVD_SELECT_UPPER
DVD_SELECT_RIGHT
DVD_SELECT_LOWER
DVD_SELECT_LEFT
Used when selecting buttons. For more information, see IDVDUserOperation::ButtonSelect.
DVD_SCANCAP_FORWARD_SCAN
DVD_SCANCAP_FORWARD_SLOW
DVD_SCANCAP_FORWARD_SINGLE
DVD_SCANCAP_BACKWARD_SCAN
DVD_SCANCAP_BACKWARD_SLOW
DVD_SCANCAP_BACKWARD_SINGLE
Used to identify the playback capabilities of the DVD renderer. For more information, see IDVDNavigationManager::GetScanCaps.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdata.h, Dvdnav.h, Dvdata.idl, Dvdnav.idl.

See Also

IDVDDomain::GetSpace | IDVDNavDataStatusSink | IDVDUserOperation::ButtonSelect | IDVDUserOperation::MenuCall | IDVDUserOperation::ProgramSearch

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.