| 10 | } |
| 11 | |
| 12 | BOOL WINAPI DllMain(HINSTANCE hinstDLL, |
| 13 | DWORD fdwReason, |
| 14 | LPVOID lpvReserved) |
| 15 | { |
| 16 | if (p_wd == nullptr) |
| 17 | { |
| 18 | p_wd = wd::common::WinDurango::GetInstance(); |
| 19 | p_wd->log.Log("WinDurango::Kinect", "Initialized"); |
| 20 | } |
| 21 | |
| 22 | if (fdwReason == DLL_PROCESS_ATTACH) |
| 23 | { |
| 24 | CreateThread(nullptr, 0, ThreadProc, nullptr, 0, nullptr); |
| 25 | } |
| 26 | |
| 27 | return TRUE; |
| 28 | } |
| 29 | |
| 30 | HRESULT WINAPI ActivationFactory(HSTRING classID, void* factory) { |
| 31 | return 0; |
nothing calls this directly
no outgoing calls
no test coverage detected