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.

36 lines
1.1 KiB

  1. //**************************************************************************
  2. //
  3. // Title : CCQue.h
  4. //
  5. // Date : 1998.05.06 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. // 1998.05.06 000.0000 1st making.
  18. //
  19. //**************************************************************************
  20. class CCQueue
  21. {
  22. public:
  23. CCQueue( void );
  24. ~CCQueue( void );
  25. void Init( void );
  26. void put( PHW_STREAM_REQUEST_BLOCK pSrb );
  27. PHW_STREAM_REQUEST_BLOCK get( void );
  28. BOOL remove( PHW_STREAM_REQUEST_BLOCK pSrb );
  29. private:
  30. ULONG count;
  31. PHW_STREAM_REQUEST_BLOCK top;
  32. PHW_STREAM_REQUEST_BLOCK bottom;
  33. };