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
bc31b388
Commit
bc31b388
authored
May 06, 2006
by
Roderick Colenbrander
Committed by
Alexandre Julliard
May 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Fix Initialize return value.
parent
cf0704bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
dinput_main.c
dlls/dinput/dinput_main.c
+7
-1
No files found.
dlls/dinput/dinput_main.c
View file @
bc31b388
...
...
@@ -368,7 +368,13 @@ static HRESULT WINAPI IDirectInputWImpl_CreateDevice(LPDIRECTINPUT7A iface,
}
static
HRESULT
WINAPI
IDirectInputAImpl_Initialize
(
LPDIRECTINPUT7A
iface
,
HINSTANCE
hinst
,
DWORD
x
)
{
return
DIERR_ALREADYINITIALIZED
;
TRACE
(
"(this=%p,%p,%lx)
\n
"
,
iface
,
hinst
,
x
);
/* Initialize can return: DIERR_BETADIRECTINPUTVERSION, DIERR_OLDDIRECTINPUTVERSION and DI_OK.
* Since we already initialized the device, return DI_OK. In the past we returned DIERR_ALREADYINITIALIZED
* which broke applications like Tomb Raider Legend because it isn't a legal return value.
*/
return
DI_OK
;
}
static
HRESULT
WINAPI
IDirectInputAImpl_GetDeviceStatus
(
LPDIRECTINPUT7A
iface
,
...
...
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