Hola eternal que hay?
bueno ya lo probe y me queda esto
HANDLE CD_ROM = CreateFile("\\\\.\\D:",GENERIC_READ|GENERIC_WRITE,FILE_SHARE_READ|FILE_SHARE_WRITE,0,OPEN_EXISTING,0,0);
if(CD_ROM == INVALID_HANDLE_VALUE)
{
MessageBox(0,"Device not found",0,0);
}
else{
DWORD Ptr = SetFilePointer(CD_ROM,0x1000,NULL,0);
ReadFile(CD_ROM,Buffer,512,&Bytes,0);
}
Desgraciadamente no lee,ni siquiera se enciende el lector del CD,que pasa?¿
saludos