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
6e07c7bc
Commit
6e07c7bc
authored
Dec 19, 2008
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Dec 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Remove DIEnumDevicesCallbackAtoW.
It's no longer used.
parent
7b5cbdb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
45 deletions
+0
-45
device.c
dlls/dinput/device.c
+0
-34
device_private.h
dlls/dinput/device_private.h
+0
-11
No files found.
dlls/dinput/device.c
View file @
6e07c7bc
...
...
@@ -532,40 +532,6 @@ int find_property(const DataFormat *df, LPCDIPROPHEADER ph)
return
-
1
;
}
BOOL
DIEnumDevicesCallbackAtoW
(
LPCDIDEVICEOBJECTINSTANCEA
lpddi
,
LPVOID
lpvRef
)
{
DIDEVICEOBJECTINSTANCEW
ddtmp
;
device_enumobjects_AtoWcb_data
*
data
;
data
=
(
device_enumobjects_AtoWcb_data
*
)
lpvRef
;
memset
(
&
ddtmp
,
0
,
sizeof
(
ddtmp
));
ddtmp
.
dwSize
=
sizeof
(
DIDEVICEINSTANCEW
);
ddtmp
.
guidType
=
lpddi
->
guidType
;
ddtmp
.
dwOfs
=
lpddi
->
dwOfs
;
ddtmp
.
dwType
=
lpddi
->
dwType
;
ddtmp
.
dwFlags
=
lpddi
->
dwFlags
;
MultiByteToWideChar
(
CP_ACP
,
0
,
lpddi
->
tszName
,
-
1
,
ddtmp
.
tszName
,
MAX_PATH
);
if
(
lpddi
->
dwSize
==
sizeof
(
DIDEVICEINSTANCEA
))
{
/**
* if dwSize < sizeof(DIDEVICEINSTANCEA of DInput version >= 5)
* force feedback and other newer data aren't available
*/
ddtmp
.
dwFFMaxForce
=
lpddi
->
dwFFMaxForce
;
ddtmp
.
dwFFForceResolution
=
lpddi
->
dwFFForceResolution
;
ddtmp
.
wCollectionNumber
=
lpddi
->
wCollectionNumber
;
ddtmp
.
wDesignatorIndex
=
lpddi
->
wDesignatorIndex
;
ddtmp
.
wUsagePage
=
lpddi
->
wUsagePage
;
ddtmp
.
wUsage
=
lpddi
->
wUsage
;
ddtmp
.
dwDimension
=
lpddi
->
dwDimension
;
ddtmp
.
wExponent
=
lpddi
->
wExponent
;
ddtmp
.
wReserved
=
lpddi
->
wReserved
;
}
return
data
->
lpCallBack
(
&
ddtmp
,
data
->
lpvRef
);
}
/******************************************************************************
* queue_event - add new event to the ring queue
*/
...
...
dlls/dinput/device_private.h
View file @
6e07c7bc
...
...
@@ -104,17 +104,6 @@ typedef struct
LPDIRECTINPUTEFFECT
ref
;
}
effect_list_item
;
/**
* Callback Data used by specific callback
* for EnumObject on 'W' interfaces
*/
typedef
struct
{
LPDIENUMDEVICEOBJECTSCALLBACKW
lpCallBack
;
LPVOID
lpvRef
;
}
device_enumobjects_AtoWcb_data
;
extern
BOOL
DIEnumDevicesCallbackAtoW
(
LPCDIDEVICEOBJECTINSTANCEA
,
LPVOID
);
extern
const
GUID
DInput_Wine_Keyboard_GUID
;
extern
const
GUID
DInput_Wine_Mouse_GUID
;
...
...
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