Mensaje    Asunto: Calcular el numero de serie de una unidad Responder citando

code:
unsigned long serial, size, file;
GetVolumeInformation("C:",0,0,&serial, &size, &file,0,0);
ShowMessage( String(IntToHex(HIWORD(serial),4)) + " " +
String(IntToHex(LOWORD(serial),4)) );