Leaked source code of windows server 2003
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.

60 lines
3.2 KiB

  1. /************************************************
  2. MultiUI.h
  3. Header for multiple user functionality.
  4. Initially by Christopher Evans (cevans) 7/16/98
  5. *************************************************/
  6. #ifndef _MULTIUI_H
  7. #define _MULTIUI_H
  8. #include "multiusr.h"
  9. #define IDH_IDENTITY_NAME 50100
  10. #define IDH_IDENTITY_MANAGE 50140
  11. #define IDH_IDENTITY_LIST 50155
  12. #define IDH_IDENTITY_DELETE 50165
  13. #define IDH_IDENTITY_ADD 50175
  14. #define IDH_IDENTITY_PROPERTIES 50180
  15. #define IDH_IDENTITY_DEFAULT 50185
  16. #define IDH_IDENTITY_STARTAS 50190
  17. #define IDH_IDENTITY_PROMPT_PWORD 50105 //Add new identity; ask for password
  18. #define IDH_IDENTITY_ENTER_PWORD 50110 //Add new identity; password
  19. #define IDH_IDENTITY_CONFIRM_PWORD 50115 //Add new identity; confirm password
  20. #define IDH_IDENTITY_ASK_PWORD 50125 //Change user; ask for pword
  21. #define IDH_IDENTITY_CHANGE_PWORD 50130 //Change user; change pword button
  22. #define IDH_IDENTITY_PWORD_OLD 50145 //Change user; old pword
  23. #define IDH_IDENTITY_PWORD_NEW 50150 //Change user; new pword
  24. #define IDH_IDENTITY_DELETE_PWORD 50170
  25. #define IDH_IDENTITY_TELLMEMORE 50195
  26. #define IDH_IDENTITY_TELLMEMORE_CONTENT 50200
  27. #define IDH_MULTI_LOG_OFF 50120
  28. #define IDH_MULTI_MNG_IDENT_DEFAULT 50185
  29. #define IDH_MULTI_MNG_DEFAULT_LIST 50160
  30. #define IDH_MULTI_DELETE_PWORD 50170
  31. #define ID_LOGIN_AS_LAST 0
  32. #define ID_LOGIN_ASK_ME 1
  33. void MU_ShowErrorMessage(HWND hwnd, UINT iMsgID, UINT iTitleID);
  34. BOOL MU_CreateNewUser(HWND hwnd, LPUSERINFO lpUserInfo);
  35. BOOL CALLBACK AddUserDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
  36. BOOL CALLBACK ChangeUserPwdDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
  37. BOOL MU_ChangeUserPassword(HWND hwnd, TCHAR *lpszOldNewPassword);
  38. BOOL CALLBACK EnterUserPwdDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
  39. BOOL MU_EnterUserPassword(HWND hwnd, TCHAR *lpszNewPassword);
  40. BOOL CALLBACK ConfirmUserPwdDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
  41. BOOL MU_ConfirmUserPassword(HWND hwnd, TCHAR *lpszMsg, TCHAR *lpszPassword);
  42. BOOL CALLBACK DeleteUserDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
  43. BOOL MU_GetUserToDelete(HWND hwnd, LPDELETEUSERDIALOGINFO lpszOutUserInfo);
  44. BOOL CALLBACK ConfirmDeleteUserDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);
  45. BOOL MU_ConfirmDeleteUser(HWND hwnd, TCHAR *lpszUsername);
  46. BOOL MU_Login(HWND hwnd, DWORD dwFlags, TCHAR *lpszUsername);
  47. BOOL MU_ChangeUserSettings(HWND hwnd, LPUSERINFO lpUserInfo);
  48. BOOL MU_ManageUsers(HWND hwnd, TCHAR *lpszUsername, DWORD dwFlags);
  49. BOOL MU_ConfirmUserPassword(HWND hwnd, TCHAR *lpszMsg, TCHAR *lpszPassword);
  50. void _StripDefault(LPSTR psz);
  51. #endif //_MULTIUI_H