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