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.

75 lines
2.5 KiB

  1. //**************************************************************************
  2. //
  3. // Title : MPEvent.h
  4. //
  5. // Date : 1997.12.09 1st making
  6. //
  7. // Author : Toshiba [PCS](PSY) Hideki Yagi
  8. //
  9. // Copyright 1997 Toshiba Corporation. All Rights Reserved.
  10. //
  11. // -------------------------------------------------------------------------
  12. //
  13. // Change log :
  14. //
  15. // Date Revision Description
  16. // ------------ ---------- -----------------------------------------------
  17. // 1997.12.09 000.0000 1st making.
  18. //
  19. //**************************************************************************
  20. class HW_DEVICE_EXTENSION;
  21. class CDataXferEvent : public IMPEGBoardEvent
  22. {
  23. public:
  24. IMBoardListItem *GetNext( void );
  25. void SetNext( IMBoardListItem *item );
  26. HALEVENTTYPE GetEventType( void );
  27. void Advice( void *pData );
  28. VOID CancelCallBack( void );
  29. CDataXferEvent( ){ m_Next=NULL; m_EventType = ClassLibEvent_SendData; };
  30. ~CDataXferEvent( ){ m_Next=NULL; m_EventType = ClassLibEvent_SendData; };
  31. private:
  32. IMBoardListItem *m_Next;
  33. HALEVENTTYPE m_EventType;
  34. };
  35. class CUserDataEvent : public IMPEGBoardEvent
  36. {
  37. public:
  38. IMBoardListItem *GetNext( void );
  39. void SetNext( IMBoardListItem *item );
  40. HALEVENTTYPE GetEventType( void );
  41. void Advice( void *pData );
  42. void Init( HW_DEVICE_EXTENSION *pHwDevExt );
  43. CUserDataEvent() { m_Next=NULL; m_EventType=WrapperEvent_UserData; m_pHwDevExt=NULL; }
  44. ~CUserDataEvent() { m_Next=NULL; m_EventType=WrapperEvent_UserData; m_pHwDevExt=NULL; }
  45. private:
  46. IMBoardListItem *m_Next;
  47. HALEVENTTYPE m_EventType;
  48. HW_DEVICE_EXTENSION *m_pHwDevExt;
  49. };
  50. class CVSyncEvent : public IMPEGBoardEvent
  51. {
  52. public:
  53. IMBoardListItem *GetNext( void );
  54. void SetNext( IMBoardListItem *item );
  55. HALEVENTTYPE GetEventType( void );
  56. void Advice( void *pData );
  57. void Init( HW_DEVICE_EXTENSION *pHwDevExt );
  58. CVSyncEvent() { m_Next=NULL; m_EventType=WrapperEvent_VSync; m_pHwDevExt=NULL; m_Vcount=0; }
  59. ~CVSyncEvent() { m_Next=NULL; m_EventType=WrapperEvent_VSync; m_pHwDevExt=NULL; m_Vcount=0; }
  60. private:
  61. IMBoardListItem *m_Next;
  62. HALEVENTTYPE m_EventType;
  63. HW_DEVICE_EXTENSION *m_pHwDevExt;
  64. ULONG m_Vcount;
  65. };