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.

85 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. ntui.h
  5. Abstract:
  6. Includes the NT-side resources and implements the code
  7. for the GUI mode UI. There is very little UI in GUI mode;
  8. what's implemented only appears during error conditions.
  9. Author:
  10. Jim Schmidt (jimschm) 15-May-1997
  11. Revision History:
  12. jimschm 20-Sep-1998 Rewrote the network error dialog code
  13. --*/
  14. #include "ntres.h"
  15. #include "msg.h"
  16. //
  17. // ResolveAccountsDlg proc
  18. //
  19. typedef struct {
  20. PCTSTR UserName; // NULL = end of list
  21. PCTSTR *DomainArray;
  22. PCTSTR OutboundDomain;
  23. BOOL RetryFlag;
  24. } RESOLVE_ACCOUNTS_ARRAY, *PRESOLVE_ACCOUNTS_ARRAY;
  25. VOID
  26. ResolveAccounts (
  27. PRESOLVE_ACCOUNTS_ARRAY Array
  28. );
  29. BOOL
  30. CALLBACK
  31. NetworkDownDlgProc (
  32. HWND hdlg,
  33. UINT uMsg,
  34. WPARAM wParam,
  35. LPARAM lParam
  36. );
  37. VOID
  38. CreateStatusPopup (
  39. VOID
  40. );
  41. VOID
  42. UpdateStatusPopup (
  43. PCTSTR NewMessage
  44. );
  45. VOID
  46. HideStatusPopup (
  47. UINT TimeToHide
  48. );
  49. VOID
  50. ShowStatusPopup (
  51. VOID
  52. );
  53. BOOL
  54. IsStatusPopupVisible (
  55. VOID
  56. );
  57. VOID
  58. DestroyStatusPopup (
  59. VOID
  60. );
  61. #define STATUS_DELAY 12000