Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.7 KiB

  1. /* ===========================================================================
  2. Copyright(C) 1998 Toshiba Corporation
  3. =========================================================================== */
  4. // Media Type
  5. #define STATIC_DATAFORMAT_TYPE_DEVIO \
  6. 0xe994e9e0, 0xeeea, 0x11d1, 0xbe, 0x92, 0x0, 0x0, 0x39, 0x24, 0x58, 0x5
  7. #define STATIC_DATAFORMAT_SUBTYPE_DEVIO \
  8. 0xe994e9e1, 0xeeea, 0x11d1, 0xbe, 0x92, 0x0, 0x0, 0x39, 0x24, 0x58, 0x5
  9. #define STATIC_DATAFORMAT_FORMAT_DEVIO \
  10. 0xe994e9e2, 0xeeea, 0x11d1, 0xbe, 0x92, 0x0, 0x0, 0x39, 0x24, 0x58, 0x5
  11. // Registry
  12. //#define REGPATH_FOR_CPL "Software\\Toshiba\\DvdDecoder\\SetupData"
  13. // #define REGPATH_FOR_WDM L"\\Registry\\Machine\\Software\\Toshiba\\DvdDecoder\\SetupData"
  14. #define REGPATH_FOR_CPL "System\\CurrentControlSet\\Services\\ToshibaDvdDecoder\\Parameters"
  15. #define REGPATH_FOR_WDM L"ToshibaDvdDecoder\\Parameters"
  16. // Interface ID
  17. #define CAP_AUDIO_DIGITAL_OUT 0x0001
  18. #define CAP_VIDEO_DIGITAL_PALETTE 0x0002
  19. #define CAP_VIDEO_TVOUT 0x0003
  20. #define CAP_VIDEO_DISPMODE 0x0004
  21. #define SET_AUDIO_DIGITAL_OUT 0x1001
  22. #define SET_VIDEO_DIGITAL_PALETTE 0x1002
  23. #define SET_VIDEO_TVOUT 0x1003
  24. #define SET_VIDEO_DISPMODE 0x1004
  25. #define SSIF_TVOUT_VGA 0
  26. #define SSIF_TVOUT_DVD 1
  27. #define SSIF_AUDIOOUT_DISABLE 0
  28. #define SSIF_AUDIOOUT_AC3MPEG 1
  29. #define SSIF_AUDIOOUT_PCM 2
  30. #define SSIF_DISPMODE_VGA 0
  31. #define SSIF_DISPMODE_43TV 1
  32. #define SSIF_DISPMODE_169TV 2
  33. // Interface structure
  34. #pragma pack(push, 1)
  35. typedef struct {
  36. DWORD dwSize;
  37. DWORD dwCmd;
  38. //
  39. DWORD dwCap;
  40. DWORD dwAudioOut;
  41. DWORD dwTVOut;
  42. struct {
  43. BYTE Y[256];
  44. BYTE Cr[256];
  45. BYTE Cb[256];
  46. };
  47. DWORD dwDispMode;
  48. } CMD;
  49. #pragma pack(pop)