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.

39 lines
1.5 KiB

  1. // =====================================================================================
  2. // P A S S D L G . C P P
  3. // =====================================================================================
  4. #ifndef __PASSDLG_H
  5. #define __PASSDLG_H
  6. // =====================================================================================
  7. // Resource Ids
  8. // =====================================================================================
  9. #define IDS_SERVER 1000
  10. #define IDE_PASSWORD 1001
  11. #define IDS_MESSAGE 1003
  12. #define IDCH_REMEMBER 1004
  13. #define IDC_STATIC -1
  14. #define IDE_ACCOUNT 1008
  15. typedef struct tagPASSINFO
  16. {
  17. TCHAR szTitle[50];
  18. LPTSTR lpszPassword;
  19. ULONG cbMaxPassword;
  20. LPTSTR lpszAccount;
  21. ULONG cbMaxAccount;
  22. LPTSTR lpszServer;
  23. BOOL fRememberPassword;
  24. DWORD fAlwaysPromptPassword;
  25. } PASSINFO, *LPPASSINFO;
  26. // Forward Declarations
  27. typedef struct INETSERVER *LPINETSERVER;
  28. // =====================================================================================
  29. // Prototypes
  30. // =====================================================================================
  31. HRESULT HrGetPassword (HWND hwndParent, LPPASSINFO lpPassInfo);
  32. BOOL PromptUserForPassword(LPINETSERVER pInetServer, HWND hwnd);
  33. #endif // __PASSDLG_H