| 23 | } |
| 24 | |
| 25 | BOOL WINAPI DllMain(HINSTANCE hinstDLL, |
| 26 | DWORD fdwReason, |
| 27 | LPVOID lpvReserved) |
| 28 | { |
| 29 | if (p_wd == nullptr) |
| 30 | { |
| 31 | p_wd = wd::common::WinDurango::GetInstance(); |
| 32 | p_wd->log.Log("WinDurango::WinRT", "Initialized"); |
| 33 | } |
| 34 | |
| 35 | if (fdwReason == DLL_PROCESS_ATTACH) |
| 36 | { |
| 37 | CreateThread(nullptr, 0, ThreadProc, nullptr, 0, nullptr); |
| 38 | } |
| 39 | |
| 40 | return TRUE; |
| 41 | } |
| 42 | |
| 43 | HRESULT WINAPI ActivationFactory(HSTRING classID, void* factory) { |
| 44 | return 0; |
nothing calls this directly
no outgoing calls
no test coverage detected