Files
Include/EGnPcInfo.h
T
Dario Sassi caae383868
2015-03-21 11:03:27 +00:00

32 lines
1.0 KiB
C++

//----------------------------------------------------------------------------
// EgalTech 2015-2015
//----------------------------------------------------------------------------
// File : EGnPcInfo.h Data : 11.03.15 Versione : 1.6c1
// Contenuto : Prototipi funzioni di informazioni sul PC.
//
//
//
// Modifiche : 11.03.15 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
#pragma once
#include <string>
//----------------------- Macro per import/export ----------------------------
#undef EGN_EXPORT
#if defined( I_AM_EGN) // da definirsi solo nella DLL
#define EGN_EXPORT __declspec( dllexport)
#else
#define EGN_EXPORT __declspec( dllimport)
#endif
//-----------------------------------------------------------------------------
EGN_EXPORT bool GetCpuInfo( std::string& sCpuInfo) ;
EGN_EXPORT bool GetOsInfo( std::string& sOsInfo) ;
EGN_EXPORT bool GetMemoryInfo( std::string& sMemInfo) ;
EGN_EXPORT bool GetUserInfo( std::string& sUserInfo) ;