#pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "version.h" #define SHLExt_MRU "MRU" #define SHLExt_UseGroups "UseGroups" #define SHLExt_UseCListSetting "UseCLGroups" #define SHLExt_UseHITContacts "UseHITContacts" #define SHLExt_UseHIT2Contacts "UseHIT2Contacts" #define SHLExt_ShowNoProfile "ShowNoProfile" #define SHLExt_ShowNoIcons "ShowNoIcons" #define SHLExt_ShowNoOffline "ShowNoOffline" #define COMREG_UNKNOWN 0 #define COMREG_OK 1 #define COMREG_APPROVED 2 void CheckRegisterServer(); void CheckUnregisterServer(); void InvokeThreadServer(); int IsCOMRegistered(); HRESULT RemoveCOMRegistryEntries(); struct CMPlugin : public PLUGIN { CMPlugin(); int Load() override; }; extern bool bIsVistaPlus; extern int DllFactoryCount, DllObjectCount; int OnOptionsInit(WPARAM wParam, LPARAM lParam); #ifdef _DEBUG #define LOG_ENABLED #endif #ifdef LOG_ENABLED #define logA g_plugin.debugLogA #else #define logA(A, ...) #endif UINT murmur_hash(const char* str);