windows-nt/Source/XPSP1/NT/enduser/netmeeting/ui/conf/passdlg.h
2020-09-26 16:20:57 +08:00

59 lines
1.2 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/****************************************************************************
*
* FILE: PassDlg.h
*
* CREATED: Chris Pirich (ChrisPi) 1-25-96
*
****************************************************************************/
#ifndef _PASSDLG_H_
#define _PASSDLG_H_
#include <cstring.hpp>
class CPasswordDlg
{
protected:
HWND m_hwndParent;
HWND m_hwnd;
CSTRING m_strConfName;
CSTRING m_strPassword;
CSTRING m_strCert;
BOOL m_fRemoteIsRDS;
static CSTRING *m_pstrUser;
static CSTRING *m_pstrDomain;
BOOL ProcessMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
// Handlers:
BOOL OnOk();
public:
// Properties:
LPCTSTR GetPassword() { return (LPCTSTR) m_strPassword; };
// Methods:
CPasswordDlg(HWND hwndParent, LPCTSTR pcszConfName, LPCTSTR pCertText, BOOL fIsService);
// ~CPasswordDlg();
INT_PTR DoModal();
static INT_PTR CALLBACK PasswordDlgProc( HWND hDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam);
static BOOL Init();
static VOID Cleanup();
};
#endif // _PASSDLG_H_