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

Function EraGetForCurrentThread

projects/WinDurango.KernelX/src/Hooks.cpp:160–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160HRESULT __stdcall EraGetForCurrentThread(ICoreWindowStatic *pThis, CoreWindow **ppWindow)
161{
162 HRESULT hr = TrueGetForCurrentThread(pThis, ppWindow);
163 if (FAILED(hr))
164 {
165 return hr;
166 }
167
168 if (*ppWindow == NULL)
169 {
170 return hr;
171 }
172
173 if (IsXboxCallee())
174 {
175 *reinterpret_cast<ICoreWindowEra **>(ppWindow) = new CoreWindowEra(*ppWindow);
176 }
177
178 return hr;
179}
180
181HRESULT __stdcall EraGetForCurrentView(ABI::Windows::Devices::Input::IMouseDeviceStatics *statics,
182 ABI::Windows::Devices::Input::IMouseDevice **mouseDevice)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected