MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / getPtr

Method getPtr

FastCopy/Taskbar.cpp:9–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#endif
8
9ITaskbarList3* Taskbar::getPtr()
10{
11#ifdef FastCopy_UseWinRT
12 static winrt::com_ptr<ITaskbarList3> instance = []
13 {
14 winrt::com_ptr<ITaskbarList3> ptr;
15 CoCreateInstance(CLSID_TaskbarList, nullptr, CLSCTX_ALL, __uuidof(ITaskbarList3), ptr.put_void());
16 return ptr;
17 }();
18 return instance.get();
19#endif
20}
21
22void Taskbar::SetProgressState(HWND hwnd, ProgressState state)
23{

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected