Leaked source code of windows server 2003
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.

42 lines
794 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1995 - 1999.
  5. //
  6. // File: pendcur.hxx
  7. //
  8. // Contents: CPendingCursor
  9. //
  10. //--------------------------------------------------------------------------
  11. #pragma once
  12. #include <cursor.hxx>
  13. class CPendingCursor : public CCursor
  14. {
  15. public:
  16. CPendingCursor( XArray<WORKID> & xWid, unsigned cWid );
  17. ~CPendingCursor();
  18. ULONG WorkIdCount();
  19. WORKID WorkId();
  20. WORKID NextWorkId();
  21. ULONG HitCount();
  22. LONG Rank();
  23. void RatioFinished ( ULONG& denom, ULONG& num );
  24. private:
  25. unsigned _iWid;
  26. unsigned _cWid;
  27. WORKID * _aWid;
  28. };