mirror of https://github.com/tongzx/nt5src
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
752 B
42 lines
752 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1995 - 1999.
|
|
//
|
|
// File: pendcur.hxx
|
|
//
|
|
// Contents: CPendingCursor
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include <cursor.hxx>
|
|
|
|
class CPendingCursor : public CCursor
|
|
{
|
|
public:
|
|
|
|
CPendingCursor( XArray<WORKID> & xWid, unsigned cWid );
|
|
|
|
~CPendingCursor();
|
|
|
|
ULONG WorkIdCount();
|
|
|
|
WORKID WorkId();
|
|
|
|
WORKID NextWorkId();
|
|
|
|
ULONG HitCount();
|
|
|
|
LONG Rank();
|
|
|
|
void RatioFinished ( ULONG& denom, ULONG& num );
|
|
|
|
private:
|
|
|
|
unsigned _iWid;
|
|
unsigned _cWid;
|
|
WORKID * _aWid;
|
|
};
|
|
|