dinput.dll proxy with CoCreateInstance hook
This commit is contained in:
parent
d31ffbade5
commit
a25e4d35f8
6 changed files with 38 additions and 1 deletions
|
@ -236,7 +236,7 @@ HRESULT WINAPI fake_DirectInputCreateEx(
|
|||
if (!real_DirectInputCreateEx)
|
||||
{
|
||||
real_DirectInputCreateEx =
|
||||
(DIRECTINPUTCREATEEXPROC)GetProcAddress(GetModuleHandle("dinput.dll"), "DirectInputCreateEx");
|
||||
(DIRECTINPUTCREATEEXPROC)GetProcAddress(LoadLibraryA("system32\\dinput.dll"), "DirectInputCreateEx");
|
||||
}
|
||||
|
||||
if (!real_DirectInputCreateEx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue