Under Windows 7 by calling the bool _stdcall GetPortVal (WORD wPortAddr, PDWORD pdwPortVal, BYTE bSize); And
Bool _stdcall SetPortVal (WORD wPortAddr, dwords dwPortVal, BYTE bSize); Can read and write data IO port
In the XP system can be normal use, Windows 7 32-bit system can't use the
InitializeWinIo () returns a value display initialization has been successful, but read the wrong number, have a great god know
CodePudding user response:
WinIO64?CodePudding user response:
Get a drive yourself, call READ_PORT_UCHAR this kind of interface function in the driver,