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