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.
 
 
 
 
 
 

81 lines
1.3 KiB

#ifndef _CREDEN_HXX_
#define _CREDEN_HXX_
class CCredentials;
class CCredentials
{
public:
CCredentials::CCredentials();
CCredentials::CCredentials(
LPWSTR lpszUserName,
LPWSTR lpszPassword,
DWORD dwAuthFlags
);
CCredentials::CCredentials(
const CCredentials& Credentials
);
CCredentials::~CCredentials();
HRESULT
CCredentials::GetUserName(
LPWSTR * lppszUserName
);
HRESULT
CCredentials::GetPassword(
LPWSTR * lppszPassword
);
HRESULT
CCredentials::SetUserName(
LPWSTR lpszUserName
);
HRESULT
CCredentials::SetPassword(
LPWSTR lpszPassword
);
void
CCredentials::operator=(
const CCredentials& other
);
friend BOOL
operator==(
CCredentials& x,
CCredentials& y
);
BOOL
CCredentials::IsNullCredentials(
);
DWORD
CCredentials::GetAuthFlags(
);
void
CCredentials::SetAuthFlags(
DWORD dwAuthFlags
);
private:
LPWSTR _lpszUserName;
LPWSTR _lpszPassword;
DWORD _dwAuthFlags;
DWORD _dwPasswordLen;
};
#endif // ifndef _CREDEN_HXX_