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.

49 lines
1.5 KiB

  1. //**************************************************************************
  2. //
  3. // Title : WDMBuff.h
  4. //
  5. // Date : 1997.11.28 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.11.28 000.0000 1st making.
  18. //
  19. //**************************************************************************
  20. class CWDMBuffer : public IMPEGBuffer
  21. {
  22. public:
  23. IMBoardListItem *GetNext( void );
  24. void SetNext( IMBoardListItem *item );
  25. DWORD GetPageNum( void );
  26. DWORD GetPageSize( DWORD pagenum );
  27. BOOL GetPagePointer( DWORD pagenum, DWORD *LinAddr, DWORD *PhysAddr );
  28. DWORD GetBufferFlag( void );
  29. CWDMBuffer();
  30. ~CWDMBuffer();
  31. VOID Init( void );
  32. BOOL SetSRB( PHW_STREAM_REQUEST_BLOCK pSrb );
  33. PHW_STREAM_REQUEST_BLOCK GetSRB( void);
  34. private:
  35. PHW_STREAM_REQUEST_BLOCK m_pSrb;
  36. IMBoardListItem *m_WDMBuffNext;
  37. #ifndef REARRANGEMENT
  38. public:
  39. BOOL m_EndFlag;
  40. int m_BuffNumber;
  41. WORD m_StartPacketNumber;
  42. WORD m_PacketNum;
  43. WORD m_BeforePacketNum;
  44. WORD m_Enable;
  45. #endif REARRANGEMENT
  46. };