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.

171 lines
3.2 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. VOID
  53. ElSessionChangeHandler (
  54. IN PVOID pEventData,
  55. IN DWORD dwEventType
  56. );
  57. DWORD
  58. WINAPI
  59. ElUserLogonCallback (
  60. IN PVOID pvContext
  61. );
  62. DWORD
  63. WINAPI
  64. ElUserLogoffCallback (
  65. IN PVOID pvContext
  66. );
  67. DWORD
  68. ElGetUserIdentity (
  69. IN EAPOL_PCB *pPCB
  70. );
  71. DWORD
  72. ElProcessUserIdentityResponse (
  73. IN EAPOL_EAP_UI_CONTEXT EapolUIContext,
  74. IN EAPOLUI_RESP EapolUIResp
  75. );
  76. DWORD
  77. ElGetUserNamePassword (
  78. IN EAPOL_PCB *pPCB
  79. );
  80. DWORD
  81. ElProcessUserNamePasswordResponse (
  82. IN EAPOL_EAP_UI_CONTEXT EapolUIContext,
  83. IN EAPOLUI_RESP EapolUIResp
  84. );
  85. DWORD
  86. ElInvokeInteractiveUI (
  87. IN EAPOL_PCB *pPCB,
  88. IN ELEAP_INVOKE_EAP_UI *pInvokeEapUIIn
  89. );
  90. DWORD
  91. ElProcessInvokeInteractiveUIResponse (
  92. IN EAPOL_EAP_UI_CONTEXT EapolUIContext,
  93. IN EAPOLUI_RESP EapolUIResp
  94. );
  95. VOID
  96. ElUserDlgSave (
  97. IN USERDLGINFO *pInfo
  98. );
  99. BOOL
  100. ElUserDlgCommand (
  101. IN USERDLGINFO *pInfo,
  102. IN WORD wNotification,
  103. IN WORD wId,
  104. IN HWND hwndCtrl
  105. );
  106. DWORD
  107. ElUserDlg (
  108. IN HWND hwndOwner,
  109. IN EAPOL_PCB *pPCB
  110. );
  111. BOOL
  112. ElUserDlgInit (
  113. IN HWND hwndDlg,
  114. IN USERDLGARGS *pArgs
  115. );
  116. VOID
  117. ElUserDlgTerm (
  118. IN HWND hwndDlg,
  119. IN USERDLGINFO *pInfo
  120. );
  121. INT_PTR
  122. ElUserDlgProc (
  123. IN HWND hwnd,
  124. IN UINT unMsg,
  125. IN WPARAM wparam,
  126. IN LPARAM lparam );
  127. DWORD
  128. ElCreateAndSendIdentityResponse (
  129. IN EAPOL_PCB *pPCB,
  130. IN EAPOL_EAP_UI_CONTEXT *pEAPUIContext
  131. );
  132. DWORD
  133. ElSendGuestIdentityResponse (
  134. IN EAPOL_EAP_UI_CONTEXT *pEAPUIContext
  135. );
  136. DWORD
  137. ElStartUserLogon (
  138. );
  139. #endif // _EAPOL_USER_H_