| Returns the value (0 or 1) of the requested bit in a LPT's ECR Register.
|
Language
|
Description
|
C/C++
|
UCHAR GetEcrPortBit ( HANDLE hLpt , UCHAR BitNumber )
|
Delphi
|
function GetEcrPortBit ( hLpt : THANDLE ; BitNumber : Byte ) : Byte; stdcall
|
VB
|
Function GetEcrPortBit ( ByVal hLpt As Long , ByVal BitNumber As Byte ) As Byte
|
Parameters:
| hLpt - the handle returned by a successful call to OpenRapidLpt
| BitNumber - requested bit number ( 0..7 )
Return Value :
The value (0 or 1) of the requested bit
See also: SetEcrPortBit
|