| Returns the number of LPT ports installed on the PC.
|
Language
|
Description
|
C/C++
|
USHORT GetNumLPTs ( HANDLE hLpt )
|
Delphi
|
function GetNumLpts ( hLpt: THANDLE ) : Word; stdcall
|
VB
|
Function GetNumLpts ( ByVal hLpt As Long ) As Integer
|
Parameters:
hLpt - the handle returned by a successful call to OpenRapidLpt
Return Value :
- number of parallel ports found on PC.
|