| Returns the value (0 or 1) of the requested bit in a LPT's CFGB Register.
|
Language
|
Description
|
C/C++
|
UCHAR GetCfgbPortBit ( HANDLE hLpt , UCHAR BitNumber )
|
Delphi
|
function GetCfgbPortBit ( hLpt : THANDLE ; BitNumber : Byte ) : Byte; stdcall
|
VB
|
Function GetCfgbPortBit ( 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: SetCfgbPortBit
|