dinput: Declare some functions static.
This commit is contained in:
parent
d39e1c360a
commit
e946ce6b38
|
@ -1214,11 +1214,11 @@ static HRESULT WINAPI JoystickAImpl_GetProperty(
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* GetObjectInfo : get object info
|
* GetObjectInfo : get object info
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI JoystickAImpl_GetObjectInfo(
|
static HRESULT WINAPI JoystickAImpl_GetObjectInfo(
|
||||||
LPDIRECTINPUTDEVICE8A iface,
|
LPDIRECTINPUTDEVICE8A iface,
|
||||||
LPDIDEVICEOBJECTINSTANCEA pdidoi,
|
LPDIDEVICEOBJECTINSTANCEA pdidoi,
|
||||||
DWORD dwObj,
|
DWORD dwObj,
|
||||||
DWORD dwHow)
|
DWORD dwHow)
|
||||||
{
|
{
|
||||||
JoystickImpl *This = (JoystickImpl *)iface;
|
JoystickImpl *This = (JoystickImpl *)iface;
|
||||||
DIDEVICEOBJECTINSTANCEA didoiA;
|
DIDEVICEOBJECTINSTANCEA didoiA;
|
||||||
|
@ -1302,7 +1302,7 @@ HRESULT WINAPI JoystickAImpl_GetObjectInfo(
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* GetDeviceInfo : get information about a device's identity
|
* GetDeviceInfo : get information about a device's identity
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI JoystickAImpl_GetDeviceInfo(
|
static HRESULT WINAPI JoystickAImpl_GetDeviceInfo(
|
||||||
LPDIRECTINPUTDEVICE8A iface,
|
LPDIRECTINPUTDEVICE8A iface,
|
||||||
LPDIDEVICEINSTANCEA pdidi)
|
LPDIDEVICEINSTANCEA pdidi)
|
||||||
{
|
{
|
||||||
|
@ -1342,7 +1342,7 @@ HRESULT WINAPI JoystickAImpl_GetDeviceInfo(
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* GetDeviceInfo : get information about a device's identity
|
* GetDeviceInfo : get information about a device's identity
|
||||||
*/
|
*/
|
||||||
HRESULT WINAPI JoystickWImpl_GetDeviceInfo(
|
static HRESULT WINAPI JoystickWImpl_GetDeviceInfo(
|
||||||
LPDIRECTINPUTDEVICE8W iface,
|
LPDIRECTINPUTDEVICE8W iface,
|
||||||
LPDIDEVICEINSTANCEW pdidi)
|
LPDIDEVICEINSTANCEW pdidi)
|
||||||
{
|
{
|
||||||
|
|
|
@ -61,7 +61,7 @@ static SysKeyboardImpl* current_lock = NULL;
|
||||||
|
|
||||||
static BYTE DInputKeyState[WINE_DINPUT_KEYBOARD_MAX_KEYS]; /* array for 'GetDeviceState' */
|
static BYTE DInputKeyState[WINE_DINPUT_KEYBOARD_MAX_KEYS]; /* array for 'GetDeviceState' */
|
||||||
|
|
||||||
LRESULT CALLBACK KeyboardCallback( int code, WPARAM wparam, LPARAM lparam )
|
static LRESULT CALLBACK KeyboardCallback( int code, WPARAM wparam, LPARAM lparam )
|
||||||
{
|
{
|
||||||
SysKeyboardImpl *This = (SysKeyboardImpl *)current_lock;
|
SysKeyboardImpl *This = (SysKeyboardImpl *)current_lock;
|
||||||
int dik_code;
|
int dik_code;
|
||||||
|
|
Loading…
Reference in New Issue