Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
efc81cb2
Commit
efc81cb2
authored
Dec 30, 2007
by
Lionel Debroux
Committed by
Alexandre Julliard
Jan 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Improve TRACEs and WARNs.
parent
99ad76c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
joystick_linux.c
dlls/dinput/joystick_linux.c
+6
-2
No files found.
dlls/dinput/joystick_linux.c
View file @
efc81cb2
...
...
@@ -376,6 +376,8 @@ static HRESULT alloc_device(REFGUID rguid, const void *jvt, IDirectInputImpl *di
LPDIDATAFORMAT
df
=
NULL
;
int
idx
=
0
;
TRACE
(
"%s %p %p %p %hu
\n
"
,
debugstr_guid
(
rguid
),
jvt
,
dinput
,
pdev
,
index
);
newDevice
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
JoystickImpl
));
if
(
newDevice
==
0
)
{
WARN
(
"out of memory
\n
"
);
...
...
@@ -552,6 +554,7 @@ static HRESULT joydev_create_deviceA(IDirectInputImpl *dinput, REFGUID rguid, RE
{
unsigned
short
index
;
TRACE
(
"%p %s %p %p
\n
"
,
dinput
,
debugstr_guid
(
rguid
),
riid
,
pdev
);
find_joystick_devices
();
*
pdev
=
NULL
;
...
...
@@ -571,7 +574,7 @@ static HRESULT joydev_create_deviceA(IDirectInputImpl *dinput, REFGUID rguid, RE
return
DIERR_NOINTERFACE
;
}
WARN
(
"invalid device GUID
\n
"
);
WARN
(
"invalid device GUID
%s
\n
"
,
debugstr_guid
(
rguid
)
);
return
DIERR_DEVICENOTREG
;
}
...
...
@@ -579,6 +582,7 @@ static HRESULT joydev_create_deviceW(IDirectInputImpl *dinput, REFGUID rguid, RE
{
unsigned
short
index
;
TRACE
(
"%p %s %p %p
\n
"
,
dinput
,
debugstr_guid
(
rguid
),
riid
,
pdev
);
find_joystick_devices
();
*
pdev
=
NULL
;
...
...
@@ -597,7 +601,7 @@ static HRESULT joydev_create_deviceW(IDirectInputImpl *dinput, REFGUID rguid, RE
return
DIERR_NOINTERFACE
;
}
WARN
(
"invalid device GUID
\n
"
);
WARN
(
"invalid device GUID
%s
\n
"
,
debugstr_guid
(
rguid
)
);
return
DIERR_DEVICENOTREG
;
}
...
...
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