Include :

- aggiunti prototipi.
This commit is contained in:
Dario Sassi
2015-03-12 08:30:03 +00:00
parent 07072b370f
commit 5f79bd815b
2 changed files with 34 additions and 0 deletions
+3
View File
@@ -43,6 +43,9 @@ EIN_EXPORT BOOL __stdcall EgtSetCommandLogger( const wchar_t* sLogFile) ;
EIN_EXPORT void __stdcall EgtEnableCommandLogger( void) ;
EIN_EXPORT void __stdcall EgtDisableCommandLogger( void) ;
EIN_EXPORT BOOL __stdcall EgtGetVersionInfo( wchar_t*& wsVer) ;
EIN_EXPORT BOOL __stdcall EgtGetOsInfo( wchar_t*& wsOs) ;
EIN_EXPORT BOOL __stdcall EgtGetCpuInfo( wchar_t*& wsCpu) ;
EIN_EXPORT BOOL __stdcall EgtGetMemoryInfo( wchar_t*& wsMem) ;
EIN_EXPORT BOOL __stdcall EgtFreeMemory( void* pMem) ;
EIN_EXPORT BOOL __stdcall EgtOutLog( const wchar_t* sMsg) ;
+31
View File
@@ -0,0 +1,31 @@
//----------------------------------------------------------------------------
// 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) ;