This package/DLL only encapsulates drive enumeration and drive info creation through single linked lists
When the GetMeDrives(nDriveType) is called it adds drives of nDriveType to the user defined linked list object.By default nDriveType is DRIVE_CDROM
It under the hood actually calls GetLogicalDrives, followed by a call to the member add() which just adds the drive letters to the linked list.
Next,validate(), fills up drive volume information,volume label and filesystem to the above linked list.
Last we call CheckMachine() , which simply copies the above collected data alongwith system RAM,OS Name,and processor name into a single string(say szKeyString) and then calculates MD5(szKeyString) returning it into another string say szKey.It returns the strlen(szKeyString), so you can allocate the required number of bytes required for the characters strings
The above can be achived by calling CheckMachine(szKeyString,szKey) on the object
If under any case, you require to reset the created linked list(say you want to add drives of another type), then instead of creating another object, you can just call lCCD_ObjectName.Reset() and all the data of lCCD_ObjectName is removed from memory
The DLL also exports
char MyCDLabel;//Label of our CD
char MyDriveLetter;//To be updated within the program
These two exports will be put to use soon(they ARE being used internally) when we might take upon CD Protection
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.