| Sets the value (0 or 1) of the requested bit in a LPT's CFGA Register.
|
Language
|
Description
|
C/C++
|
void SetCfgaPortBit ( HANDLE hLpt , UCHAR BitNumber, UCHAR nNewValue )
|
Delphi
|
procedure SetCfgaPortBit ( hLpt : THANDLE ; BitNumber : Byte ; nNewValue : Byte) ; stdcall
|
VB
|
Sub SetCfgaPortBit ( 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: GetCfgaPortBit
|