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.

90 lines
2.3 KiB

  1. /******************************************************************************
  2. *
  3. * (C) Copyright MICROSOFT Corp., 1988-1990
  4. *
  5. * Title: VMDA.H - Include file for VMDOSAPP/GRABBER SHELL interaction
  6. *
  7. * Version: 1.00
  8. *
  9. * Date: 05-May-1988
  10. *
  11. * Author: ARR
  12. *
  13. *-----------------------------------------------------------------------------
  14. *
  15. * Change log:
  16. *
  17. * DATE REV DESCRIPTION
  18. * ----------- --- ----------------------------------------------------------
  19. * 05-May-1988 ARR Original
  20. * 15-Jul-1982 rjc Converted from vmda.inc to vmda.h
  21. *
  22. *****************************************************************************/
  23. /*
  24. * EQUATES for VMDOSAPP device calls
  25. */
  26. #define SHELL_Call_Dev_VDD 0x0000A /* Actually GRABBER services */
  27. /*
  28. * SHELL VMDA interface services. All services not listed here are reserved
  29. * for internal use.
  30. */
  31. #define SHELL_Debug_Out 8
  32. /*
  33. * THIS IS THE MAXIMUM SIZE IN BYTES OF THE INFO RETURNED ON
  34. * VDD CALLS OTHER THAN GET CONTOLLER STATE MADE BY THE GRABBER
  35. *
  36. * This is the size of an area reserved for use on grabber calls
  37. */
  38. #ifdef NEC_98
  39. #define VDD_MOD_MAX 320
  40. #else // NEC
  41. #define VDD_MOD_MAX 256
  42. #endif // NEC
  43. /*
  44. * THIS IS THE MAXIMUM SIZE IN BYTES OF THE INFO RETURNED ON
  45. * THE GET CONTOLLER STATE VDD CALL MADE BY THE GRABBER
  46. *
  47. * This is the size of an area reserved for use on this grabber call
  48. */
  49. #ifdef NEC_98 // NEC 940323 AVFrameMaxOff,AVFrameMaxAddr Add
  50. #define VDD_CTRL_STATE_MAX 1310
  51. #else // NEC
  52. #define VDD_CTRL_STATE_MAX 128
  53. #endif // NEC
  54. /*
  55. * Stuff specific to VMDA events
  56. */
  57. #define WMX_USER 0x0400
  58. /* ASM
  59. INCLUDE VDDGRB.INC
  60. */
  61. /* ASM
  62. .ERRE VDA_Type_Chng EQ ((WMX_USER+20)+2) ; Defined in VDDGRB.INC!!
  63. .ERRE VDA_Display_Event EQ ((WMX_USER+20)+6) ; Defined in VDDGRB.INC!!
  64. */
  65. /* All other VDA_* values are reserved for internal use */
  66. /*
  67. * lParam is ALWAYS the "Event ID". This is used on the VMDOSAPP call backs
  68. * to the shell to identify the event which is being processed.
  69. */
  70. /*
  71. * On VDA_Display_Message event, wParam == 0 if normal message
  72. * != 0 if ASAP or SYSMODAL message
  73. * VMDOSAPP instance which gets the message is messaging VM
  74. */
  75. /*
  76. * On VDA_Type_Chng event, wParam is not used
  77. * VMDOSAPP instance which gets the message has had its type changed by
  78. * protected mode code
  79. */