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.

42 lines
1.2 KiB

  1. /****************************** Module Header ******************************\
  2. * Module Name: chngepwd.h
  3. *
  4. * Copyright (c) 1991, Microsoft Corporation
  5. *
  6. * Define apis used to implement change password functionality of winlogon
  7. *
  8. * History:
  9. * 12-09-91 Davidc Created.
  10. \***************************************************************************/
  11. //
  12. // Exported function prototypes
  13. //
  14. #define CHANGEPWD_OPTION_EDIT_DOMAIN 0x00000001 // Allow domain field to be changed
  15. #define CHANGEPWD_OPTION_SHOW_DOMAIN 0x00000002 // Show domain field
  16. #define CHANGEPWD_OPTION_SHOW_NETPROV 0x00000004 // Include network providers
  17. #define CHANGEPWD_OPTION_KEEP_ARRAY 0x00000008 // Use existing domain cache array
  18. #define CHANGEPWD_OPTION_NO_UPDATE 0x00000010 // don't update in-memory hash
  19. #define CHANGEPWD_OPTION_ALL 0x00000007
  20. INT_PTR
  21. ChangePassword(
  22. IN HWND hwnd,
  23. IN PGLOBALS pGlobals,
  24. IN PWCHAR UserName,
  25. IN PWCHAR Domain,
  26. IN ULONG Options
  27. );
  28. INT_PTR
  29. ChangePasswordLogon(
  30. IN HWND hwnd,
  31. IN PGLOBALS pGlobals,
  32. IN PWCHAR UserName,
  33. IN PWCHAR Domain,
  34. IN PWCHAR OldPassword
  35. );