Leaked source code of windows server 2003
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.

141 lines
5.2 KiB

  1. #define SZCODE static char _based(_segname("_CODE"))
  2. /****************************************************************************/
  3. /* Please internationalize me */
  4. /****************************************************************************/
  5. // Make sure these don't conflict with other MSVIDEO numbers!
  6. #define MCIWND_BASE 333
  7. #define IDS_MCIFILES (MCIWND_BASE + 0)
  8. #define IDS_ALLFILES (MCIWND_BASE + 1)
  9. #define IDS_MCIERROR (MCIWND_BASE + 2)
  10. #define IDS_NODEVICE (MCIWND_BASE + 3)
  11. #define IDS_HALFSIZE (MCIWND_BASE + 4)
  12. #define IDS_NORMALSIZE (MCIWND_BASE + 5)
  13. #define IDS_DOUBLESIZE (MCIWND_BASE + 6)
  14. #define IDS_PLAY (MCIWND_BASE + 7)
  15. #define IDS_STOP (MCIWND_BASE + 8)
  16. #define IDS_RECORD (MCIWND_BASE + 9)
  17. #define IDS_EJECT (MCIWND_BASE + 10)
  18. #define IDS_CLOSE (MCIWND_BASE + 11)
  19. #define IDS_NEW (MCIWND_BASE + 12)
  20. #define IDS_VIEW (MCIWND_BASE + 13)
  21. #define IDS_VOLUME (MCIWND_BASE + 14)
  22. #define IDS_SPEED (MCIWND_BASE + 15)
  23. #define IDS_OPEN (MCIWND_BASE + 16)
  24. #define IDS_SAVE (MCIWND_BASE + 17)
  25. #define IDS_CONFIGURE (MCIWND_BASE + 18)
  26. #define IDS_COMMAND (MCIWND_BASE + 19)
  27. #define IDS_COPY (MCIWND_BASE + 20)
  28. #define DLG_MCICOMMAND 942
  29. #define IDC_MCICOMMAND 10
  30. #define IDC_RESULT 11
  31. #define MPLAYERICON 943
  32. #ifdef RC_INVOKED
  33. STRINGTABLE PRELOAD MOVEABLE DISCARDABLE
  34. BEGIN
  35. IDS_MCIFILES "MCI Files"
  36. IDS_ALLFILES "All Files"
  37. IDS_MCIERROR "MCI Error"
  38. IDS_NODEVICE "No Device"
  39. IDS_HALFSIZE "Half Size \tAlt+2"
  40. IDS_NORMALSIZE "Normal Size \tCtrl+1"
  41. IDS_DOUBLESIZE "Double Size \tCtrl+2"
  42. IDS_PLAY "&Play \tCtrl+P"
  43. IDS_STOP "&Stop \tCtrl+S"
  44. IDS_RECORD "&Record"
  45. IDS_EJECT "&Eject"
  46. IDS_CLOSE "C&lose"
  47. IDS_NEW "&New"
  48. IDS_VIEW "&View"
  49. IDS_VOLUME "&Volume"
  50. IDS_SPEED "&Speed"
  51. IDS_OPEN "&Open... \tCtrl+O"
  52. IDS_SAVE "&Save..."
  53. IDS_COPY "&Copy \tCtrl+C"
  54. IDS_CONFIGURE "Con&figure... \tCtrl+D"
  55. IDS_COMMAND "Co&mmand... \tCtrl+F5"
  56. //IDS_PLAY "&Play"
  57. //IDS_PLAY "&Play Reverse"
  58. //IDS_PLAY "&Play Fullscreen"
  59. END
  60. DLG_MCICOMMAND DIALOG 6, 18, 240, 59
  61. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  62. CAPTION "Send MCI String Command"
  63. FONT 8, "MS Sans Serif"
  64. BEGIN
  65. EDITTEXT IDC_MCICOMMAND, 50, 4, 186, 12, ES_AUTOHSCROLL
  66. DEFPUSHBUTTON "Send", IDOK, 7, 43, 40, 14
  67. PUSHBUTTON "Close", IDCANCEL, 50, 43, 40, 14
  68. LTEXT "Command:", -1, 7, 4, 40, 8
  69. LTEXT "Result:", -1, 7, 20, 40, 8
  70. LTEXT "", IDC_RESULT, 50, 20, 190, 20
  71. END
  72. MPLAYERICON ICON PRELOAD MPlayer.ico
  73. #else
  74. /****************************************************************************/
  75. /* Please don't internationalize me */
  76. /****************************************************************************/
  77. SZCODE szNULL[] = "";
  78. SZCODE szMCIExtensions[] = "MCI Extensions";
  79. SZCODE szPutDest[] = "put destination at %d %d %d %d";
  80. SZCODE szPutSource[] = "put source at %d %d %d %d";
  81. SZCODE szSetFormatTMSF[] = "set time format tmsf";
  82. SZCODE szSetFormatMS[] = "set time format ms";
  83. SZCODE szSetFormatFrames[] = "set time format frames";
  84. SZCODE szSetFormat[] = "set time format %s";
  85. SZCODE szStatusFormat[] = "status time format";
  86. SZCODE szStatusNumTracks[] = "status number of tracks";
  87. SZCODE szStatusPosTrack[] = "status position track %d";
  88. SZCODE szStatusVolume[] = "status volume";
  89. SZCODE szStatusSpeed[] = "status speed";
  90. SZCODE szSetSpeed[] = "set speed %d";
  91. SZCODE szSetVolume[] = "setaudio volume to %d";
  92. SZCODE szSysInfo[] = "sysinfo installname";
  93. SZCODE szSetPalette[] = "setvideo palette handle to %d";
  94. SZCODE szMDIClient[] = "MDIClient";
  95. SZCODE szSave[] = "save %s";
  96. SZCODE szNew[] = "open new type %s alias %d wait";
  97. SZCODE szOpenShareable[] = "open %s alias %d wait shareable";
  98. SZCODE szOpen[] = "open %s alias %d wait";
  99. SZCODE szOpenAVI[] = "open %s alias %d wait type AVIVideo";
  100. SZCODE szWindowHandle[] = "window handle %u";
  101. SZCODE szStatusPalette[] = "status palette handle";
  102. SZCODE szConfigureTest[] = "configure test";
  103. SZCODE szConfigure[] = "configure";
  104. SZCODE szSetSpeed1000Test[] = "set speed 1000 test";
  105. SZCODE szSetSpeed500Test[] = "set speed 500 test";
  106. SZCODE szSetSpeedTest[] = "set speed %d test";
  107. SZCODE szSetVolume0Test[] = "setaudio volume to 0 test";
  108. SZCODE szSetVolumeTest[] = "setaudio volume to %d test";
  109. SZCODE szStatusMode[] = "status mode";
  110. //SZCODE szSetSeekExactOn[] = "set seek exactly on";
  111. //SZCODE szSetSeekExactOff[] = "set seek exactly off";
  112. //SZCODE szStatusSeekExactly[] = "status seek exactly";
  113. SZCODE szPlay[] = "play %s";
  114. SZCODE szPlayReverse[] = "play reverse %s";
  115. SZCODE szPlayFrom[] = "play from %ld";
  116. SZCODE szPlayTo[] = "play to %ld";
  117. SZCODE szRepeat[] = "repeat";
  118. SZCODE szSetDoorOpen[] = "set door open";
  119. SZCODE szStep[] = "step by %ld";
  120. SZCODE szSeek[] = "seek to %ld";
  121. SZCODE szClose[] = "close";
  122. SZCODE szStatusPosition[] = "status position";
  123. SZCODE szStatusStart[] = "status start position";
  124. SZCODE szPlayFullscreenReverse[] = "play fullscreen reverse %s";
  125. SZCODE szPlayFullscreen[] = "play fullscreen %s";
  126. SZCODE szSmallFonts[] = "small fonts";
  127. SZCODE szDebug[] = "debug";
  128. SZCODE szStatusForward[] = "status forward";
  129. SZCODE szInterface[] = "AVIVideo!@%ld";
  130. #endif