CLeashApp
CLeashApp::ObtainTicketsViaUserIfNeeded(HWND hWnd)
CLeashApp::GetNumOfIpAddrs(void)
CLeashApp::IpAddrChangeMonitor(void * hWnd)
CLeashApp::IpAddrChangeMonitorInit(HWND hWnd)
CLeashApp::InitWorker(void * hWnd)
CLeashApp::WinHelp(DWORD dwData, UINT nCmd)
CLeashApp theApp;
BOOL CLeashApp::OnIdle(LONG lCount)
void CLeashApp::ParseParam (LPCTSTR lpszParam,BOOL bFlag,BOOL bLast)
BOOL CLeashApp::InitInstance()
HWND CLeashApp::m_hProgram = 0;
HINSTANCE CLeashApp::m_hLeashDLL = 0;
HINSTANCE CLeashApp::m_hComErr = 0;
HINSTANCE CLeashApp::m_hKrb5DLL = 0;
HINSTANCE CLeashApp::m_hKrb5ProfileDLL= 0;
HINSTANCE CLeashApp::m_hPsapi = 0;
HINSTANCE CLeashApp::m_hToolHelp32 = 0;
krb5_context CLeashApp::m_krbv5_context = 0;
profile_t CLeashApp::m_krbv5_profile = 0;
HINSTANCE CLeashApp::m_hKrbLSA = 0;
int CLeashApp::m_useRibbon = TRUE;
BOOL CLeashApp::m_bUpdateDisplay = FALSE;
BOOL CLeashApp::InitDLLs()
BEGIN_MESSAGE_MAP(CLeashApp, CWinApp)
CLeashApp::CLeashApp()
BOOL CLeashApp::FirstInstance()
CLeashApp::ValidateConfigFiles()
CLeashApp::~CLeashApp()
CLeashApp::GetProfileFile(
CLeashApp::ProbeKDC(void)
CLeashApp();
virtual ~CLeashApp();
extern CLeashApp theApp;
class CLeashApp : public CWinAppEx
if (!CLeashApp::m_hToolHelp32 && !CLeashApp::m_hPsapi)
if (!CLeashApp::m_hPsapi)
if (!CLeashApp::m_hToolHelp32 && !CLeashApp::m_hPsapi)
if (!CLeashApp::m_hPsapi)
if (!CLeashApp::m_hToolHelp32 && !CLeashApp::m_hPsapi)
if (!CLeashApp::m_hPsapi)
if (!CLeashApp::m_hKrb5DLL)
if (CLeashApp::m_hKrb5DLL && !CLeashApp::m_krbv5_profile)
if (CLeashApp::GetProfileFile(confname, sizeof(confname)))
pprofile_init(filenames, &CLeashApp::m_krbv5_profile);
else if ( CLeashApp::m_hKrb5DLL )
if (CLeashApp::m_hKrb5DLL && ticketinfo.Krb5.btickets) {
if( CLeashApp::m_hProgram != 0 )
m_hMenu = ::GetMenu(CLeashApp::m_hProgram);
CLeashApp::m_bUpdateDisplay = TRUE;
if (!CLeashApp::m_hKrb5DLL)
!CLeashApp::m_hKrb5DLL)
CLeashApp::m_hProgram = ::FindWindow(_T("LEASH.0WNDCLASS"), NULL);
if (CLeashApp::m_hKrb5DLL)
::SetWindowText(CLeashApp::m_hProgram, strTimeDate);
if (CLeashApp::m_hKrb5DLL) {
if (CLeashApp::m_hKrb5DLL)
if (!CLeashApp::m_hKrb5DLL)
CLeashApp::m_bUpdateDisplay = TRUE;
if ( !CLeashApp::m_hKrb5DLL )
if ( !CLeashApp::m_hKrb5DLL )
CLeashApp::m_bUpdateDisplay = TRUE;
if ((!CLeashApp::m_useRibbon) &&
if (!CLeashApp::m_useRibbon) {
if (CLeashApp::m_useRibbon) {