Share via


DVD-Video API Macros (Windows Embedded CE 6.0)

1/6/2010

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

#define SPRM_M_LCD                   0
#define SPRM_ASTN                    1
#define SPRM_SPSTN                   2
#define SPRM_AGLN                    3
#define SPRM_TTN                     4
#define SPRM_VTS_TTN                 5
#define SPRM_TT_PGCN                 6
#define SPRM_PTTN                    7
#define SPRM_HL_BTNN                 8
#define SPRM_NV_TMR                  9
#define SPRM_NV_TMR_PGCN             10
#define SPRM_P_AMXMD                 11
#define SPRM_CTY_CD                  12
#define SPRM_PTL_LVL                 13
#define SPRM_P_CFG_VIDEO             14
#define SPRM_P_CFG_AUDIO             15
#define SPRM_INI_LCD_AST             16
#define SPRM_INI_LCD_EXT_AST         17
#define SPRM_INI_LCD_SPST            18
#define SPRM_INI_LCD_EXT_SPST        19
#define SPRM_REGION                  20

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.

SPRM_M_LCD SPRM_ASTN SPRM_SPSTN SPRM_AGLN SPRM_TTN SPRM_VTS_TTN SPRM_TT_PGCN SPRM_PTTN SPRM_HL_BTNN SPRM_NV_TMR SPRM_NV_TMR_PGCN SPRM_P_AMXMD SPRM_CTY_CD SPRM_PTL_LVL SPRM_P_CFG_VIDEO SPRM_P_CFG_AUDIO SPRM_INI_LCD_AST SPRM_INI_LCD_EXT_AST SPRM_INI_LCD_SPST SPRM_INI_LCD_EXT_SPST SPRM_REGION

Used to identify system parameters (SPRM) as defined by the DVD Forum Specification.

Requirements

Header dvdata.h, dvdata.idl, dvdnav.h, dvdnav.idl
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

DVD-Video API Reference
IDVDDomain::GetSpace
IDVDNavDataStatusSink
IDVDUserOperation::ButtonSelect
IDVDUserOperation::MenuCall
IDVDUserOperation::ProgramSearch
DVD-Video API Interface Identifiers