Skip to content

Commit

Permalink
Updated GetForCurrentThread_Hook (Probably not correct though).
Browse files Browse the repository at this point in the history
TylerJaacks committed Oct 8, 2024
1 parent 7a28a43 commit 1811fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/kernelx/hooks.h
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ void* GetForCurrentThread = nullptr;

inline HRESULT STDMETHODCALLTYPE GetForCurrentThread_Hook(CoreWindow** window)
{
return S_OK;
return TrueGetForCurrentThread(window);
}

inline HRESULT WINAPI RoGetActivationFactory_Hook(HSTRING classId, REFIID iid, void** factory)

0 comments on commit 1811fbd

Please sign in to comment.