diff options
Diffstat (limited to 'plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp')
-rw-r--r-- | plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp index 17ceb61f9a..c3717b8e75 100644 --- a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp +++ b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp @@ -85,7 +85,7 @@ CMPlugin::CMPlugin() : // ============================================================================
-extern "C" __declspec(dllexport) int Load(void)
+int CMPlugin::Load()
{
// загружаем (из БД) настройки плагина
code_Close = db_get_dw(0, MODULENAME, "Close", 0);
@@ -123,11 +123,8 @@ int initializeOptions(WPARAM wParam, LPARAM) // ============================================================================
-extern "C" __declspec(dllexport) int Unload(void)
+int CMPlugin::Unload()
{
UnhookWindowsHookEx(hHook);
return 0;
}
-
-// ============================================================================
-
|