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.

52 lines
2.6 KiB

  1. // Copyright (C) Microsoft Corporation, 1998
  2. //
  3. // IDs for DANIM Events
  4. //
  5. // Just follow the template when adding either DISPIDs or new interfaces.
  6. //
  7. #ifndef __DANIMDISPID_H__
  8. #define __DANIMDISPID_H__
  9. // Base offset:
  10. #define DISPID_BASE 0x00000000
  11. // Interface offsets:
  12. #define DAVIEWERCONTROL_OFFSET 0x1000
  13. #define DAVIEW_OFFSET 0x2000
  14. // Interface bases:
  15. #define DISPID_DANIMEVENT_BASE (DISPID_BASE + DAVIEWERCONTROL_OFFSET)
  16. #define DISPID_VIEWEVENT_BASE (DISPID_BASE + DAVIEW_OFFSET)
  17. // DAVIEWERCONTROL DISPIDs:
  18. #define DISPID_DANIMEVENT_START (DISPID_DANIMEVENT_BASE + 0x01)
  19. #define DISPID_DANIMEVENT_MOUSEUP (DISPID_DANIMEVENT_BASE + 0x02)
  20. #define DISPID_DANIMEVENT_MOUSEDOWN (DISPID_DANIMEVENT_BASE + 0x03)
  21. #define DISPID_DANIMEVENT_MOUSEMOVE (DISPID_DANIMEVENT_BASE + 0x04)
  22. #define DISPID_DANIMEVENT_CLICK (DISPID_DANIMEVENT_BASE + 0x05)
  23. #define DISPID_DANIMEVENT_KEYPRESS (DISPID_DANIMEVENT_BASE + 0x06)
  24. #define DISPID_DANIMEVENT_KEYUP (DISPID_DANIMEVENT_BASE + 0x07)
  25. #define DISPID_DANIMEVENT_KEYDOWN (DISPID_DANIMEVENT_BASE + 0x08)
  26. #define DISPID_DANIMEVENT_ERROR (DISPID_DANIMEVENT_BASE + 0x09)
  27. #define DISPID_DANIMEVENT_STOP (DISPID_DANIMEVENT_BASE + 0x0A)
  28. #define DISPID_DANIMEVENT_PAUSE (DISPID_DANIMEVENT_BASE + 0x0B)
  29. #define DISPID_DANIMEVENT_RESUME (DISPID_DANIMEVENT_BASE + 0x0C)
  30. //VIEW DISPIDS
  31. #define DISPID_VIEWEVENT_START (DISPID_VIEWEVENT_BASE + 0x01)
  32. #define DISPID_VIEWEVENT_STOP (DISPID_VIEWEVENT_BASE + 0x02)
  33. #define DISPID_VIEWEVENT_ONMOUSEMOVE (DISPID_VIEWEVENT_BASE + 0x03)
  34. #define DISPID_VIEWEVENT_ONMOUSEBUTTON (DISPID_VIEWEVENT_BASE + 0x04)
  35. #define DISPID_VIEWEVENT_ONKEY (DISPID_VIEWEVENT_BASE + 0x05)
  36. #define DISPID_VIEWEVENT_ONFOCUS (DISPID_VIEWEVENT_BASE + 0x06)
  37. #define DISPID_VIEWEVENT_PAUSE (DISPID_VIEWEVENT_BASE + 0x07)
  38. #define DISPID_VIEWEVENT_RESUME (DISPID_VIEWEVENT_BASE + 0x08)
  39. #define DISPID_VIEWEVENT_ERROR (DISPID_VIEWEVENT_BASE + 0x09)
  40. #endif //__DANIMDISPID_H__