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.

75 lines
1.5 KiB

  1. /*++
  2. Microsoft Confidential
  3. Copyright (c) 1992-1997 Microsoft Corporation
  4. All rights reserved
  5. Module Name:
  6. profile.h
  7. Abstract:
  8. Public declarations for the User Profiles tab of the
  9. System Control Panel Applet
  10. Author:
  11. Eric Flo (ericflo) 19-Jun-1995
  12. Revision History:
  13. 15-Oct-1997 scotthal
  14. Complete overhaul
  15. --*/
  16. #ifndef _SYSDM_PROFILE_H_
  17. #define _SYSDM_PROFILE_H_
  18. //
  19. // Flags
  20. //
  21. #define USERINFO_FLAG_DIRTY 1
  22. #define USERINFO_FLAG_CENTRAL_AVAILABLE 2
  23. #define USERINFO_FLAG_ACCOUNT_UNKNOWN 4
  24. //
  25. // Profile types : obtained from ds\security\gina\userenv\profile\profile.h
  26. //
  27. #define USERINFO_LOCAL 0
  28. #define USERINFO_FLOATING 1
  29. #define USERINFO_MANDATORY 2
  30. #define USERINFO_BACKUP 3
  31. #define USERINFO_TEMP 4
  32. #define USERINFO_READONLY 5
  33. typedef struct _USERINFO {
  34. DWORD dwFlags;
  35. LPTSTR lpSid;
  36. LPTSTR lpProfile;
  37. LPTSTR lpUserName;
  38. DWORD dwProfileType;
  39. DWORD dwProfileStatus;
  40. } USERINFO, *LPUSERINFO;
  41. typedef struct _UPCOPYINFO {
  42. DWORD dwFlags;
  43. PSID pSid;
  44. LPUSERINFO lpUserInfo;
  45. BOOL bDefaultSecurity;
  46. } UPCOPYINFO, *LPUPCOPYINFO;
  47. INT_PTR
  48. APIENTRY
  49. UserProfileDlgProc(
  50. IN HWND hDlg,
  51. IN UINT uMsg,
  52. IN WPARAM wParam,
  53. IN LPARAM lParam
  54. );
  55. #endif // _SYSDM_PROFILE_H_