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.

46 lines
1.2 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Copyright (c) Microsoft Corporation 1993-1994
  4. //
  5. // File: serialui.h
  6. //
  7. // This files contains the shared prototypes and macros.
  8. //
  9. // History:
  10. // 02-03-94 ScottH Created
  11. //
  12. //---------------------------------------------------------------------------
  13. #ifndef __SERIALUI_H__
  14. #define __SERIALUI_H__
  15. #define MAXPORTNAME 13
  16. #define MAXFRIENDLYNAME LINE_LEN // LINE_LEN is defined in setupx.h
  17. // Internal structure shared between port property pages.
  18. //
  19. typedef struct _PORTINFO
  20. {
  21. UINT uFlags; // One of SIF_* values
  22. WIN32DCB dcb;
  23. LPCOMMCONFIG pcc; // Read-only
  24. int idRet;
  25. TCHAR szFriendlyName[MAXFRIENDLYNAME];
  26. } PortInfo, FAR * LPPORTINFO;
  27. // PortInfo Flags
  28. #define SIF_FROM_DEVMGR 0x0001
  29. extern LPGUID c_pguidModem;
  30. extern LPGUID c_pguidPort;
  31. //-------------------------------------------------------------------------
  32. // PORT.C
  33. //-------------------------------------------------------------------------
  34. INT_PTR CALLBACK Port_WrapperProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  35. #endif // __SERIALUI_H__