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.

40 lines
985 B

  1. // ui_pwd.h
  2. //
  3. // definitions for WAB synchronization password request dialog
  4. //
  5. #ifndef __UI_PWD_H__
  6. #define __UI_PWD_H__
  7. #ifdef __cplusplus
  8. extern "C"{
  9. #endif
  10. typedef struct tagPASSINFO
  11. {
  12. TCHAR szTitle[50];
  13. LPTSTR lpszPassword;
  14. ULONG cbMaxPassword;
  15. LPTSTR lpszAccount;
  16. ULONG cbMaxAccount;
  17. LPTSTR lpszServer;
  18. BOOL fRememberPassword;
  19. DWORD fAlwaysPromptPassword;
  20. } PASSINFO, *LPPASSINFO;
  21. // Forward Declarations
  22. typedef struct INETSERVER *LPINETSERVER;
  23. // =====================================================================================
  24. // Prototypes
  25. // =====================================================================================
  26. HRESULT HrGetPassword (HWND hwndParent, LPPASSINFO lpPassInfo);
  27. BOOL PromptUserForPassword(LPINETSERVER pInetServer, HWND hwnd);
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif //__UI_PWD_H__