| Allows to read one byte from Status Register of current LPT.
|
Language
|
Description
|
C/C++
|
USHORT GetStatusPort ( HANDLE hLpt )
|
Delphi
|
function GetStatusPort ( hLpt : THANDLE ) : Byte; stdcall
|
VB
|
Function GetStatusPort ( 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 Status Register
See also: SetDataPort
|