Writes a word (two bytes) value to the specified port address.
Language
|
Description
|
C/C++
|
void SetPortWord ( HANDLE hPci, ULONG PortAddress, USHORT wValue);
|
Delphi
|
procedure SetPortWord ( hPci: THandle; PortAddress: Longword; wValue: Word ); stdcall;
|
VB
|
Sub SetPortWord ( ByVal hPci As Long, ByVal PortAddress As Long, ByVal wValue As Integer)
|
Parameters:
hPci - the handle returned by a successful call to OpenRapidPci ;
PortAddress - the port address in I/O space
wValue - specifies a word to be written to the port.
Return Value : None.
See also: GetPortByte GetPortWord GetPortLong SetPortByte SetPortLong
|