LPCTSTR strDrive; //имя диска DWORD dwSerialNumber; GetVolumeInformation (strDrive, NULL, 0, &dwSerialNumber, NULL, NULL, NULL, 0);