Ver Mensaje Individual
  #1  
Antiguo 01-02-2016
deliriun deliriun is offline
Miembro
 
Registrado: ago 2014
Posts: 51
Reputación: 10
deliriun Va por buen camino
Question Cambiar el numero del serial de un Disco

Hola buen día a todos,

Estaba viendo un código muy interesante ::

Código Delphi [-]
function GetVolumeID(DriveChar: Char): String;
var
   MaxFileNameLength, VolFlags, SerNum: DWord;
begin
   if GetVolumeInformation(PChar(DriveChar + ':\'), nil, 0,
      @SerNum, MaxFileNameLength, VolFlags, nil, 0)
   then
   begin
     Result := IntToHex(SerNum,8);
     Insert('-', Result, 5);
   end
   else
       Result := '';
end;

Código Delphi [-]
ShowMessage(GetVolumeId('c'));

Pues y mi duda era si es posible modificar el Serial del Disco, quisiera saber si alguien tiene alguna idea
de Cómo hacerlo, o si ya lo han hecho..
Responder Con Cita