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

Function DllMain

projects/WinDurango.WinRT/src/WinDurangoWinRT.cpp:25–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25BOOL 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
43HRESULT WINAPI ActivationFactory(HSTRING classID, void* factory) {
44 return 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected