Ver Mensaje Individual
  #2  
Antiguo 27-12-2007
Avatar de cHackAll
[cHackAll] cHackAll is offline
Baneado?
 
Registrado: oct 2006
Posts: 2.159
Reputación: 20
cHackAll Va por buen camino
Código Delphi [-]
uses Windows;
 
function GetID(lpDrive: PChar): int64;
var hDevice: Integer;
begin
 hDevice := _lopen(PChar('\\.\'+lpDrive), OF_READ);
 _llseek(hDevice, $8000, 0);
 _lread(hDevice, @Result, SizeOf(Result));
 CloseHandle(hDevice);
end;
 
begin
 if GetID('g:') <> $1313030444301 then
  MessageBox(0, 'AudioCD', nil, 0);
end.

Aconsejo revisar UDF, CDFS, ISO9660, el "libro rojo" y los CDs hibridos.

Saludos
Responder Con Cita