//---------------------------------------------------------------------------- // EgalTech 2014-2014 //---------------------------------------------------------------------------- // File : MachineId.cpp Data : 10.09.14 Versione : 1.5i2 // Contenuto : Dichiarazione funzioni locali per gestione/calcolo Id macchina. // // // // Modifiche : 10.09.14 DS Creazione modulo. // // //---------------------------------------------------------------------------- #pragma once #include #include "/EgtDev/Include/SELkMachineId.h" //------------------------------------------------------------------------------- bool GetSN123FromRegistry( std::string& sSN1, std::string& sSN2, std::string& sSN3) ; bool GetSN123FromMachine( std::string& sSN1, std::string& sSN2, std::string& sSN3) ; void AdjustSN( const std::string& sSou, const char* szFill, std::string& sDest) ; DWORD GetPhysicalDriveSN( UINT nDriveNumber, std::string& sSerialNumber) ; DWORD GetDiskVolumeSN( const wchar_t* wszDisk, std::string& sSerialNumber) ; DWORD GetPseudoRandomSN( std::string& sSerialNumber) ;