ReactOS 0.4.16-dev-297-gc569aee
|
#include "precomp.h"
Go to the source code of this file.
Functions | |||||
DoesPortExist | |||||
Checks all Port Monitors installed on the local system to find out if a given port already exists.
| |||||
BOOL | DoesPortExist (PCWSTR pwszPortName) | ||||
DWORD | GetLPTTransmissionRetryTimeout (VOID) | ||||
GetPortNameWithoutColon | |||||
Most of the time, we operate on port names with a trailing colon. But some functions require the name without the trailing colon. This function checks if the port has a trailing colon and if so, it returns the port name without the colon.
| |||||
DWORD | GetPortNameWithoutColon (PCWSTR pwszPortName, PWSTR *ppwszPortNameWithoutColon) | ||||
_IsNEPort | |||||
Checks if the given port name is a virtual Ne port. A virtual Ne port may appear in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports and can have the formats Ne00:, Ne01:, Ne-02:, Ne456: This check is extra picky to not cause false positives (like file name ports starting with "Ne").
| |||||
static __inline BOOL | _IsNEPort (PCWSTR pwszPortName) | ||||
DWORD | GetTypeFromName (LPCWSTR name) | ||||
Definition at line 183 of file tools.c.
Referenced by GetTypeFromName().
Definition at line 24 of file tools.c.
Referenced by _HandleAddPort(), _HandlePortExists(), LocalmonAddPort(), and LocalmonAddPortEx().
Definition at line 85 of file tools.c.
Referenced by _HandleGetTransmissionRetryTimeout(), and _SetTransmissionRetryTimeout().
Definition at line 142 of file tools.c.
Referenced by _ClosePortHandles(), _CreateNonspooledPort(), and _HandleSetDefaultCommConfig().
Definition at line 215 of file tools.c.
Referenced by _HandlePortIsValid().