Files
EgtLock/MachineId.h
T
Dario Sassi 7aab88ed67 EgtLock 1.5i2 :
- primo rilascio.
2014-09-13 21:30:38 +00:00

27 lines
1.1 KiB
C++

//----------------------------------------------------------------------------
// 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 <string>
#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) ;