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.2 KiB

  1. class CCredentials;
  2. class CCredentials
  3. {
  4. public:
  5. CCredentials::CCredentials();
  6. CCredentials::CCredentials(
  7. LPWSTR lpszUserName,
  8. LPWSTR lpszPassword,
  9. DWORD dwAuthFlags
  10. );
  11. CCredentials::CCredentials(
  12. const CCredentials& Credentials
  13. );
  14. CCredentials::~CCredentials();
  15. HRESULT
  16. CCredentials::GetUserName(
  17. LPWSTR * lppszUserName
  18. );
  19. HRESULT
  20. CCredentials::GetPassword(
  21. LPWSTR * lppszPassword
  22. );
  23. HRESULT
  24. CCredentials::SetUserName(
  25. LPWSTR lpszUserName
  26. );
  27. HRESULT
  28. CCredentials::SetPassword(
  29. LPWSTR lpszPassword
  30. );
  31. void
  32. CCredentials::operator=(
  33. const CCredentials& other
  34. );
  35. friend BOOL
  36. operator==(
  37. CCredentials& x,
  38. CCredentials& y
  39. );
  40. BOOL
  41. CCredentials::IsNullCredentials(
  42. );
  43. DWORD
  44. CCredentials::GetAuthFlags(
  45. );
  46. void
  47. CCredentials::SetAuthFlags(
  48. DWORD dwAuthFlags
  49. );
  50. private:
  51. LPWSTR _lpszUserName;
  52. LPWSTR _lpszPassword;
  53. DWORD _dwAuthFlags;
  54. };