Hi EveryOne,
I need to access hardware port address value, in api function, I don't know the function name and what Dlls i want to use, Pls. help me.
Example in c language : _inpw()
Email ID : [email protected]
Best Regards.
K.Babu
Printable View
Hi EveryOne,
I need to access hardware port address value, in api function, I don't know the function name and what Dlls i want to use, Pls. help me.
Example in c language : _inpw()
Email ID : [email protected]
Best Regards.
K.Babu
Hi Babu
You Could Try to use the GetDeviceCaps API
Public Declare Function GetDeviceCaps Lib "gdi32" Alias "GetDeviceCaps" (ByVal hdc As Long, ByVal nIndex As Long) As Long
You will need to pass the device context Handle and the constant. If you have the book by Dan Apple man it will help you immensely with Win APIs
Regards
Vikram
Windows does not allow Applications to read/write directly to hardware ports. You may have to implement a VxD and an application or use a tool like DriverAgent from Numega.