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
16e15913
Commit
16e15913
authored
Oct 03, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput8: Win64 printf format warning fixes.
parent
9f725a27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
dlls/dinput8/Makefile.in
+0
-1
dinput8_main.c
dlls/dinput8/dinput8_main.c
+2
-2
No files found.
dlls/dinput8/Makefile.in
View file @
16e15913
...
...
@@ -6,7 +6,6 @@ MODULE = dinput8.dll
IMPORTLIB
=
libdinput8.
$(IMPLIBEXT)
IMPORTS
=
dinput ole32 advapi32 kernel32
EXTRALIBS
=
-luuid
-ldxguid
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
dinput8_main.c
...
...
dlls/dinput8/dinput8_main.c
View file @
16e15913
...
...
@@ -53,7 +53,7 @@ static void UnlockModule(void)
HRESULT
WINAPI
DirectInput8Create
(
HINSTANCE
hinst
,
DWORD
dwVersion
,
REFIID
riid
,
LPVOID
*
ppDI
,
LPUNKNOWN
punkOuter
)
{
HRESULT
hr
;
TRACE
(
"hInst (%p), dwVersion: %
l
d, riid (%s), punkOuter (%p))
\n
"
,
hinst
,
dwVersion
,
debugstr_guid
(
riid
),
punkOuter
);
TRACE
(
"hInst (%p), dwVersion: %d, riid (%s), punkOuter (%p))
\n
"
,
hinst
,
dwVersion
,
debugstr_guid
(
riid
),
punkOuter
);
/* The specified version needs to be dinput8 (0x800) or higher */
if
(
dwVersion
<
0x800
)
...
...
@@ -66,7 +66,7 @@ HRESULT WINAPI DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID riid,
hr
=
CoCreateInstance
(
&
CLSID_DirectInput8
,
punkOuter
,
CLSCTX_INPROC_SERVER
,
riid
,
ppDI
);
if
(
FAILED
(
hr
))
{
ERR
(
"CoCreateInstance failed with hr = %
l
d; Try running wineprefixcreate to fix it.
\n
"
,
hr
);
ERR
(
"CoCreateInstance failed with hr = %d; Try running wineprefixcreate to fix it.
\n
"
,
hr
);
return
DIERR_INVALIDPARAM
;
}
...
...
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