|
-
August 13th, 1999, 04:28 AM
#1
How to _inp(), _outp() on 0x1F6, 0x1F7and 0x1F0 under Win95/98
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);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|