| Closes the parallel port opened with OpenPort.
|
Language
|
Description
|
C/C++
|
BOOL ClosePort ( HANDLE hLpt )
|
Delphi
|
function ClosePort ( hLpt: THANDLE ) : Boolean; stdcall
|
VB
|
Function ClosePort ( ByVal hLpt As Long ) As Boolean
|
Parameters:
hLpt - the handle returned by a successful call to OpenRapidLpt
Return Value :
TRUE, if the operation succeeds, FALSE otherwise.
Comments:
Use this function after all operations with the port are done.
See also:
OpenPort
|