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