Include :
- aggiunti prototipi.
This commit is contained in:
@@ -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
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user