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.

132 lines
2.4 KiB

  1. /*++
  2. Copyright (c) 2000, Microsoft Corporation
  3. Module Name:
  4. eluser.h
  5. Abstract:
  6. The module deals with declarations related to user interaction, user logon
  7. Revision History:
  8. sachins, Apr 23 2000, Created
  9. --*/
  10. #ifndef _EAPOL_USER_H_
  11. #define _EAPOL_USER_H_
  12. //
  13. // Dialer dialogs argument block.
  14. //
  15. typedef struct
  16. _USERDLGARGS
  17. {
  18. EAPOL_PCB *pPCB;
  19. } USERDLGARGS;
  20. //
  21. // Dialer dialogs context block.
  22. //
  23. typedef struct
  24. USERDLGINFO
  25. {
  26. // Common dial context information including the RAS API arguments.
  27. //
  28. USERDLGARGS* pArgs;
  29. // Handle of the dialog and some of it's controls.
  30. //
  31. HWND hwndDlg;
  32. HWND hwndEbUser;
  33. HWND hwndEbPw;
  34. HWND hwndEbDomain;
  35. HWND hwndCbSavePw;
  36. HWND hwndClbNumbers;
  37. HWND hwndStLocations;
  38. HWND hwndLbLocations;
  39. HWND hwndPbRules;
  40. HWND hwndPbProperties;
  41. // Window handles and original window procedure of the subclassed
  42. // 'hwndClbNumbers' control's edit-box and list-box child windows.
  43. //
  44. HWND hwndClbNumbersEb;
  45. HWND hwndClbNumbersLb;
  46. WNDPROC wndprocClbNumbersEb;
  47. WNDPROC wndprocClbNumbersLb;
  48. // Set if COM has been initialized (necessary for calls to netshell).
  49. //
  50. BOOL fComInitialized;
  51. } USERDLGINFO;
  52. DWORD
  53. ElGetUserIdentity (
  54. IN EAPOL_PCB *pPCB
  55. );
  56. DWORD
  57. ElGetUserNamePassword (
  58. IN EAPOL_PCB *pPCB
  59. );
  60. VOID
  61. ElUserLogonCallback (
  62. IN PVOID pvContext,
  63. IN BOOLEAN fTimerOfWaitFired
  64. );
  65. VOID
  66. ElUserLogoffCallback (
  67. IN PVOID pvContext,
  68. IN BOOLEAN fTimerOfWaitFired
  69. );
  70. DWORD
  71. ElInvokeInteractiveUI (
  72. IN EAPOL_PCB *pPCB,
  73. IN ELEAP_INVOKE_EAP_UI *pInvokeEapUIIn
  74. );
  75. VOID
  76. ElUserDlgSave (
  77. IN USERDLGINFO *pInfo
  78. );
  79. BOOL
  80. ElUserDlgCommand (
  81. IN USERDLGINFO *pInfo,
  82. IN WORD wNotification,
  83. IN WORD wId,
  84. IN HWND hwndCtrl
  85. );
  86. DWORD
  87. ElUserDlg (
  88. IN HWND hwndOwner,
  89. IN EAPOL_PCB *pPCB
  90. );
  91. BOOL
  92. ElUserDlgInit (
  93. IN HWND hwndDlg,
  94. IN USERDLGARGS *pArgs
  95. );
  96. VOID
  97. ElUserDlgTerm (
  98. IN HWND hwndDlg,
  99. IN USERDLGINFO *pInfo
  100. );
  101. INT_PTR
  102. ElUserDlgProc (
  103. IN HWND hwnd,
  104. IN UINT unMsg,
  105. IN WPARAM wparam,
  106. IN LPARAM lparam );
  107. #endif // _EAPOL_USER_H_