| Allows to write one byte to the Data Register of current LPT.
|
Language
|
Description
|
C/C++
|
void SetDataPort ( HANDLE hLpt , UCHAR nNewValue )
|
Delphi
|
procedure SetDataPort ( hLpt : THANDLE ; bNewValue : Byte ) ; stdcall
|
VB
|
Sub SetDataPort ( ByVal hLpt As Long , ByVal bNewValue As Byte )
|
Parameters:
| hLpt - the handle returned by a successful call to OpenRapidLpt
|
| nNewValue - one byte value to write to Data Register.
|
Return Value :
None
See also: GetDataPort
|