Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
024dcba8
Commit
024dcba8
authored
Sep 12, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Oct 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Make the creation functions hookable.
parent
64367542
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
dinput_main.c
dlls/dinput/dinput_main.c
+2
-2
dinput8_main.c
dlls/dinput8/dinput8_main.c
+1
-1
No files found.
dlls/dinput/dinput_main.c
View file @
024dcba8
...
...
@@ -162,7 +162,7 @@ HRESULT WINAPI DirectInputCreateEx(
/******************************************************************************
* DirectInputCreateA (DINPUT.@)
*/
HRESULT
WINAPI
DirectInputCreateA
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
LPDIRECTINPUTA
*
ppDI
,
LPUNKNOWN
punkOuter
)
HRESULT
WINAPI
D
ECLSPEC_HOTPATCH
D
irectInputCreateA
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
LPDIRECTINPUTA
*
ppDI
,
LPUNKNOWN
punkOuter
)
{
return
DirectInputCreateEx
(
hinst
,
dwVersion
,
&
IID_IDirectInput7A
,
(
LPVOID
*
)
ppDI
,
punkOuter
);
}
...
...
@@ -170,7 +170,7 @@ HRESULT WINAPI DirectInputCreateA(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPU
/******************************************************************************
* DirectInputCreateW (DINPUT.@)
*/
HRESULT
WINAPI
DirectInputCreateW
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
LPDIRECTINPUTW
*
ppDI
,
LPUNKNOWN
punkOuter
)
HRESULT
WINAPI
D
ECLSPEC_HOTPATCH
D
irectInputCreateW
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
LPDIRECTINPUTW
*
ppDI
,
LPUNKNOWN
punkOuter
)
{
return
DirectInputCreateEx
(
hinst
,
dwVersion
,
&
IID_IDirectInput7W
,
(
LPVOID
*
)
ppDI
,
punkOuter
);
}
...
...
dlls/dinput8/dinput8_main.c
View file @
024dcba8
...
...
@@ -50,7 +50,7 @@ static void UnlockModule(void)
/******************************************************************************
* DirectInput8Create (DINPUT8.@)
*/
HRESULT
WINAPI
DirectInput8Create
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
REFIID
riid
,
LPVOID
*
ppDI
,
LPUNKNOWN
punkOuter
)
{
HRESULT
WINAPI
D
ECLSPEC_HOTPATCH
D
irectInput8Create
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
REFIID
riid
,
LPVOID
*
ppDI
,
LPUNKNOWN
punkOuter
)
{
HRESULT
hr
;
TRACE
(
"hInst (%p), dwVersion: %d, riid (%s), punkOuter (%p))
\n
"
,
hinst
,
dwVersion
,
debugstr_guid
(
riid
),
punkOuter
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment