| 4 | std::shared_ptr<wd::common::WinDurango> p_wd = nullptr; |
| 5 | |
| 6 | DWORD WINAPI ThreadProc(LPVOID lpParam) |
| 7 | { |
| 8 | UNREFERENCED_PARAMETER(lpParam); |
| 9 | |
| 10 | if (!wd::WinRT::g_UserStorage) |
| 11 | { |
| 12 | wd::WinRT::g_UserStorage = new wd::WinRT::ConnectedStorage(); |
| 13 | wd::WinRT::g_UserStorage->InitializeStorage(L"UserStorage").get(); |
| 14 | } |
| 15 | |
| 16 | if (!wd::WinRT::g_MachineStorage) |
| 17 | { |
| 18 | wd::WinRT::g_MachineStorage = new wd::WinRT::ConnectedStorage(); |
| 19 | wd::WinRT::g_MachineStorage->InitializeStorage(L"MachineStorage").get(); |
| 20 | } |
| 21 | |
| 22 | return 1; |
| 23 | } |
| 24 | |
| 25 | BOOL WINAPI DllMain(HINSTANCE hinstDLL, |
| 26 | DWORD fdwReason, |
nothing calls this directly
no test coverage detected