windows-nt/Source/XPSP1/NT/enduser/netmeeting/ui/conf/passdlg.h

59 lines
1.2 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/****************************************************************************
*
* 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_