Windows2003-3790/enduser/netmeeting/core/confqos.h

32 lines
510 B
C
Raw Permalink Normal View History

2001-01-01 00:00:00 +01:00
// File: confqos.h
#ifndef _CONFQOS_H_
#define _CONFQOS_H_
// Don't use more than 90% of the CPU among all the components
// registered with the QoS module
#define MSECS_PER_SEC 900
struct IQoS;
class CQoS
{
protected:
IQoS * m_pIQoS;
HRESULT SetClients(void);
HRESULT SetResources(int nBandWidth);
public:
CQoS();
~CQoS();
HRESULT Initialize();
HRESULT SetBandwidth(UINT uBandwidth);
ULONG GetCPULimit();
};
extern CQoS* g_pQoS;
#endif // _CONFQOS_H_