| Returns the current mode of current LPT.
|
Language
|
Description
|
C/C++
|
USHORT GetCurrentLptMode ( HANDLE hLpt )
|
Delphi
|
function GetCurrentLptMode ( hLpt : THANDLE ) : Byte; stdcall
|
VB
|
Function GetCurrentLptMode ( ByVal hLpt As Long ) As Byte
|
Parameters:
| hLpt - the handle returned by a successful call to OpenRapidLpt
|
Return Value :
Current LPT mode from the list:
LPT_SPP_MODE
LPT_PS2_MODE
LPT_EPP_MODE
LPT_ECP_MODE
See also: SetCurrentLptMode
|