diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-28 14:44:39 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-28 14:44:39 +0000 |
commit | d66fa2b4bd6edc2a0cca1c348a457b2830b03d90 (patch) | |
tree | 30206e88fa1ab46fe85bfdf504172ffca1b02e80 /plugins/AddToStartMenu | |
parent | 1df918495c42ed2685b2749b6b129d529d54b51e (diff) |
AddToStartMenu: windows version check
git-svn-id: http://svn.miranda-ng.org/main/trunk@15060 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AddToStartMenu')
-rw-r--r-- | plugins/AddToStartMenu/src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/AddToStartMenu/src/main.cpp b/plugins/AddToStartMenu/src/main.cpp index a906b7e831..5c4da0766c 100644 --- a/plugins/AddToStartMenu/src/main.cpp +++ b/plugins/AddToStartMenu/src/main.cpp @@ -29,7 +29,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD, LPVOID) extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
- return &pluginInfo;
+ if (IsWinVer7Plus())
+ return &pluginInfo;
+ return NULL;
}
extern "C" int __declspec(dllexport) Load(void)
|