Reads a WORD (two bytes) from the specified port address.
Language
|
Description
|
C/C++
|
USHORT GetPortWord ( HANDLE hPci, ULONG PortAddress);
|
Delphi
|
function GetPortWord ( hPci: THandle; PortAddress: Longword ): Word; stdcall;
|
VB
|
Function GetPortWord ( ByVal hPci As Long, ByVal PortAddress As Long) As Integer
|
Parameters:
hPci - the handle returned by a successful call to OpenRapidPci ;
PortAddress - the port address in I/O space
Return Value :
The WORD value read from the specified port address
See also: GetPortByte GetPortLong SetPortByte SetPortWord SetPortLong
|