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
9ef1f0fe
Commit
9ef1f0fe
authored
Dec 03, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Make some functions static.
parent
1a882843
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
33 deletions
+4
-33
device.c
dlls/dinput/device.c
+4
-24
device_private.h
dlls/dinput/device_private.h
+0
-9
No files found.
dlls/dinput/device.c
View file @
9ef1f0fe
...
...
@@ -44,7 +44,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dinput);
/******************************************************************************
* Various debugging tools
*/
void
_dump_cooperativelevel_DI
(
DWORD
dwFlags
)
{
static
void
_dump_cooperativelevel_DI
(
DWORD
dwFlags
)
{
if
(
TRACE_ON
(
dinput
))
{
unsigned
int
i
;
static
const
struct
{
...
...
@@ -67,7 +67,7 @@ void _dump_cooperativelevel_DI(DWORD dwFlags) {
}
}
void
_dump_EnumObjects_flags
(
DWORD
dwFlags
)
{
static
void
_dump_EnumObjects_flags
(
DWORD
dwFlags
)
{
if
(
TRACE_ON
(
dinput
))
{
unsigned
int
i
;
DWORD
type
,
instance
;
...
...
@@ -342,13 +342,13 @@ void release_DataFormat(DataFormat * format)
format
->
user_df
=
NULL
;
}
inline
LPDIOBJECTDATAFORMAT
dataformat_to_odf
(
LPCDIDATAFORMAT
df
,
int
idx
)
static
inline
LPDIOBJECTDATAFORMAT
dataformat_to_odf
(
LPCDIDATAFORMAT
df
,
int
idx
)
{
if
(
idx
<
0
||
idx
>=
df
->
dwNumObjs
)
return
NULL
;
return
(
LPDIOBJECTDATAFORMAT
)((
LPBYTE
)
df
->
rgodf
+
idx
*
df
->
dwObjSize
);
}
HRESULT
create_DataFormat
(
LPCDIDATAFORMAT
asked_format
,
DataFormat
*
format
)
static
HRESULT
create_DataFormat
(
LPCDIDATAFORMAT
asked_format
,
DataFormat
*
format
)
{
DataTransform
*
dt
;
unsigned
int
i
,
j
;
...
...
@@ -1132,26 +1132,6 @@ HRESULT WINAPI IDirectInputDevice2AImpl_GetDeviceData(
return
ret
;
}
HRESULT
WINAPI
IDirectInputDevice2AImpl_GetDeviceInfo
(
LPDIRECTINPUTDEVICE8A
iface
,
LPDIDEVICEINSTANCEA
pdidi
)
{
FIXME
(
"(this=%p,%p): stub!
\n
"
,
iface
,
pdidi
);
return
DI_OK
;
}
HRESULT
WINAPI
IDirectInputDevice2WImpl_GetDeviceInfo
(
LPDIRECTINPUTDEVICE8W
iface
,
LPDIDEVICEINSTANCEW
pdidi
)
{
FIXME
(
"(this=%p,%p): stub!
\n
"
,
iface
,
pdidi
);
return
DI_OK
;
}
HRESULT
WINAPI
IDirectInputDevice2AImpl_RunControlPanel
(
LPDIRECTINPUTDEVICE8A
iface
,
HWND
hwndOwner
,
...
...
dlls/dinput/device_private.h
View file @
9ef1f0fe
...
...
@@ -77,7 +77,6 @@ extern DWORD get_config_key(HKEY, HKEY, const char*, char*, DWORD);
/* Routines to do DataFormat / WineFormat conversions */
extern
void
fill_DataFormat
(
void
*
out
,
DWORD
size
,
const
void
*
in
,
const
DataFormat
*
df
)
;
extern
HRESULT
create_DataFormat
(
LPCDIDATAFORMAT
asked_format
,
DataFormat
*
format
);
extern
void
release_DataFormat
(
DataFormat
*
df
)
;
extern
void
queue_event
(
LPDIRECTINPUTDEVICE8A
iface
,
int
ofs
,
DWORD
data
,
DWORD
time
,
DWORD
seq
);
/* Helper functions to work with data format */
...
...
@@ -120,8 +119,6 @@ extern const GUID DInput_Wine_Keyboard_GUID;
extern
const
GUID
DInput_Wine_Mouse_GUID
;
/* Various debug tools */
extern
void
_dump_cooperativelevel_DI
(
DWORD
dwFlags
)
;
extern
void
_dump_EnumObjects_flags
(
DWORD
dwFlags
)
;
extern
void
_dump_DIPROPHEADER
(
LPCDIPROPHEADER
diph
)
;
extern
void
_dump_OBJECTINSTANCEA
(
const
DIDEVICEOBJECTINSTANCEA
*
ddoi
)
;
extern
void
_dump_OBJECTINSTANCEW
(
const
DIDEVICEOBJECTINSTANCEW
*
ddoi
)
;
...
...
@@ -165,12 +162,6 @@ extern HRESULT WINAPI IDirectInputDevice2WImpl_GetObjectInfo(LPDIRECTINPUTDEVICE
DWORD
dwHow
);
extern
HRESULT
WINAPI
IDirectInputDevice2AImpl_GetDeviceData
(
LPDIRECTINPUTDEVICE8A
iface
,
DWORD
dodsize
,
LPDIDEVICEOBJECTDATA
dod
,
LPDWORD
entries
,
DWORD
flags
);
extern
HRESULT
WINAPI
IDirectInputDevice2AImpl_GetDeviceInfo
(
LPDIRECTINPUTDEVICE8A
iface
,
LPDIDEVICEINSTANCEA
pdidi
)
;
extern
HRESULT
WINAPI
IDirectInputDevice2WImpl_GetDeviceInfo
(
LPDIRECTINPUTDEVICE8W
iface
,
LPDIDEVICEINSTANCEW
pdidi
)
;
extern
HRESULT
WINAPI
IDirectInputDevice2AImpl_RunControlPanel
(
LPDIRECTINPUTDEVICE8A
iface
,
HWND
hwndOwner
,
...
...
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