MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / DllMain

Function DllMain

projects/WinDurango.Kinect/src/WinDurangoKinect.cpp:12–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12BOOL 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
30HRESULT WINAPI ActivationFactory(HSTRING classID, void* factory) {
31 return 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected