| 94 |
|
|
| 95 |
static HICON SecureLargeIcon = NULL; |
static HICON SecureLargeIcon = NULL; |
| 96 |
static HICON SecureSmallIcon = NULL; |
static HICON SecureSmallIcon = NULL; |
| 97 |
|
static HICON SecureNotifyIcon = NULL; |
| 98 |
|
static HICON OldNotifyIcon = NULL; |
| 99 |
|
|
| 100 |
static HFONT DlgHostFont; |
static HFONT DlgHostFont; |
| 101 |
static HFONT DlgAboutFont; |
static HFONT DlgAboutFont; |
| 168 |
(LPARAM) pvar->OldSmallIcon); |
(LPARAM) pvar->OldSmallIcon); |
| 169 |
pvar->OldSmallIcon = NULL; |
pvar->OldSmallIcon = NULL; |
| 170 |
} |
} |
| 171 |
|
if (OldNotifyIcon) { |
| 172 |
|
SetCustomNotifyIcon(OldNotifyIcon); |
| 173 |
|
} |
| 174 |
|
|
| 175 |
ssh_heartbeat_lock_finalize(); |
ssh_heartbeat_lock_finalize(); |
| 176 |
} |
} |
| 919 |
(LPARAM) SecureSmallIcon); |
(LPARAM) SecureSmallIcon); |
| 920 |
} |
} |
| 921 |
|
|
| 922 |
|
if (IsWindows2000()) { |
| 923 |
|
if (SecureNotifyIcon == NULL) { |
| 924 |
|
SecureNotifyIcon = LoadImage(hInst, MAKEINTRESOURCE(pvar->settings.IconID), |
| 925 |
|
IMAGE_ICON, 0, 0, LR_VGACOLOR | LR_SHARED); |
| 926 |
|
} |
| 927 |
|
OldNotifyIcon = GetCustomNotifyIcon(); |
| 928 |
|
SetCustomNotifyIcon(SecureNotifyIcon); |
| 929 |
|
} |
| 930 |
|
|
| 931 |
notify_verbose_message(pvar, "Entering secure mode", |
notify_verbose_message(pvar, "Entering secure mode", |
| 932 |
LOG_LEVEL_VERBOSE); |
LOG_LEVEL_VERBOSE); |
| 933 |
} |
} |