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