24#pragma clang diagnostic push
25#pragma clang diagnostic ignored "-Wall"
26#pragma clang diagnostic ignored "-Wattributes"
27#pragma clang diagnostic ignored "-Wdelete-incomplete"
28#pragma clang diagnostic ignored "-Wextra"
29#pragma clang diagnostic ignored "-Wint-to-pointer-cast"
30#pragma clang diagnostic ignored "-Winvalid-noreturn"
31#pragma clang diagnostic ignored "-Wmicrosoft"
32#pragma clang diagnostic ignored "-Wnon-pod-varargs"
40#pragma clang diagnostic pop
43BEGIN_OBJECT_MAP(ObjectMap)
45#pragma clang diagnostic push
46#pragma clang diagnostic ignored "-Wmissing-field-initializers"
50#pragma clang diagnostic pop
55extern "C" BOOL WINAPI
DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID )
57 if (dwReason == DLL_PROCESS_ATTACH)
59 _Module.Init(ObjectMap, hInstance);
60 DisableThreadLibraryCalls(hInstance);
62 else if (dwReason == DLL_PROCESS_DETACH)
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID)
static CComModule _Module
const wchar_t *typedef BOOL