Mad
August 13th, 1999, 04:28 AM
Hi Everybody
Can anyone help me with accessing I/O port 0x1F7, 0x1F0 under Win95/98.
How can it be implemented ??
DeviceIoControl()
Thunking 16bit App
VXD
Volume Locking (Interrupt 21h Function 440Dh Minor Code 4Ah Lock Logical Volume
Interrupt 21h Function 440Dh Minor Code 4Bh Lock Physical Volume)
Thanks,
_outp(0x1F6, 0xA0);
_outp(0x1F7, 0xEC);
for(i = 0; i < 256; i++)
{
hdInfo[i] = _inpw(0x1F0);
}
Can anyone help me with accessing I/O port 0x1F7, 0x1F0 under Win95/98.
How can it be implemented ??
DeviceIoControl()
Thunking 16bit App
VXD
Volume Locking (Interrupt 21h Function 440Dh Minor Code 4Ah Lock Logical Volume
Interrupt 21h Function 440Dh Minor Code 4Bh Lock Physical Volume)
Thanks,
_outp(0x1F6, 0xA0);
_outp(0x1F7, 0xEC);
for(i = 0; i < 256; i++)
{
hdInfo[i] = _inpw(0x1F0);
}