| Allows to read one byte from Data Register of current LPT.
|
Language
|
Description
|
C/C++
|
USHORT GetDataPort ( HANDLE hLpt )
|
Delphi
|
function GetDataPort ( hLpt : THANDLE ) : Byte; stdcall
|
VB
|
Function GetDataPort ( ByVal hLpt As Long ) As Byte
|
Parameters:
| hLpt - the handle returned by a successful call to OpenRapidLpt
|
Return Value :
The byte read from the LPT Data Register
See also: SetDataPort
|