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