You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
691 B
36 lines
691 B
/*
|
|
File mdm.h
|
|
|
|
Library for dealing with and installing modems.
|
|
|
|
Paul Mayfield, 5/20/98
|
|
*/
|
|
|
|
#ifndef __rassrvui_mdm_h
|
|
#define __rassrvui_mdm_h
|
|
|
|
//
|
|
// Definition of callback function used for enumerating
|
|
// com ports. Return TRUE to stop enumeration, FALSE to
|
|
// continue.
|
|
//
|
|
typedef BOOL (*MdmPortEnumFuncPtr)(
|
|
IN PWCHAR pszPort,
|
|
IN HANDLE hData);
|
|
|
|
//
|
|
// Enumerates serial ports on the system
|
|
//
|
|
DWORD MdmEnumComPorts(
|
|
IN MdmPortEnumFuncPtr pEnumFunc,
|
|
IN HANDLE hData);
|
|
|
|
|
|
//
|
|
// Installs a null modem on the given port
|
|
//
|
|
DWORD MdmInstallNullModem(
|
|
IN PWCHAR pszPort);
|
|
|
|
#endif
|
|
|