diff options
Diffstat (limited to 'plugins/KeyboardNotify/src/main.cpp')
-rw-r--r-- | plugins/KeyboardNotify/src/main.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp index adbe79029d..def163577f 100644 --- a/plugins/KeyboardNotify/src/main.cpp +++ b/plugins/KeyboardNotify/src/main.cpp @@ -723,19 +723,6 @@ void LoadSettings(void) }
-void GetWindowsVersion(void)
-{
- OSVERSIONINFOEX osvi = { sizeof(OSVERSIONINFOEX) };
- BOOL bOsVersionInfoEx = GetVersionEx((OSVERSIONINFO *)&osvi);
-
- if (!bOsVersionInfoEx) {
- osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
- if (!GetVersionEx((OSVERSIONINFO *)&osvi))
- osvi.dwPlatformId = VER_PLATFORM_WIN32_WINDOWS;
- }
-}
-
-
void updateXstatusProto(PROTOCOL_INFO *protoInfo)
{
if (!ProtoServiceExists(protoInfo->szProto, PS_GETCUSTOMSTATUSEX))
@@ -913,7 +900,6 @@ static int ModulesLoaded(WPARAM, LPARAM) int CMPlugin::Load()
{
- GetWindowsVersion();
OpenKeyboardDevice();
HookEvent(ME_MC_ENABLED, OnMetaChanged);
|