Source code of Windows XP (NT5)
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
655 B

  1. /*
  2. File mdm.h
  3. Library for dealing with and installing modems.
  4. Paul Mayfield, 5/20/98
  5. */
  6. #ifndef __rassrvui_mdm_h
  7. #define __rassrvui_mdm_h
  8. //
  9. // Definition of callback function used for enumerating
  10. // com ports. Return TRUE to stop enumeration, FALSE to
  11. // continue.
  12. //
  13. typedef BOOL (*MdmPortEnumFuncPtr)(
  14. IN PWCHAR pszPort,
  15. IN HANDLE hData);
  16. //
  17. // Enumerates serial ports on the system
  18. //
  19. DWORD MdmEnumComPorts(
  20. IN MdmPortEnumFuncPtr pEnumFunc,
  21. IN HANDLE hData);
  22. //
  23. // Installs a null modem on the given port
  24. //
  25. DWORD MdmInstallNullModem(
  26. IN PWCHAR pszPort);
  27. #endif