Old fashion design for PC-104
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.
 
 
 
 
 

52 lines
1.3 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: resourcemeterwin9x.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of resourcemeterwin9x.h
//----------------------------------------------------------------------------
// resourcemeterwin9x.h: interface for the CResourceMeterWin9x class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RESOURCEMETERWIN9X_H__DB55ED43_89C2_11D5_9B77_0000E89F6E90__INCLUDED_)
#define AFX_RESOURCEMETERWIN9X_H__DB55ED43_89C2_11D5_9B77_0000E89F6E90__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CResourceMeterWin9x
{
public:
CResourceMeterWin9x();
virtual ~CResourceMeterWin9x();
public:
LONG GetSystemResources();
LONG GetUserResources();
LONG GetGDIResources();
void Destroy();
BOOL Create();
private:
enum
{
GFSR_SYSTEMRESOURCES = 0,
GFSR_GDIRESOURCES = 1,
GFSR_USERRESOURCES = 2
};
typedef LONG (CALLBACK* GETRES)(int);
private:
HMODULE m_hLibrary;
GETRES m_pGetRes;
};
#endif