|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdarg.h>#include "windef.h"#include "winbase.h"#include "dinput.h"#include "wine/list.h"#include "dinput_private.h"

Go to the source code of this file.
Classes | |
| struct | DataTransform |
| struct | DataFormat |
| struct | ActionMap |
| struct | IDirectInputDeviceImpl |
| struct | ObjProps |
| struct | effect_list_item |
Typedefs | |
| typedef struct IDirectInputDeviceImpl | IDirectInputDeviceImpl |
Variables | |
| const GUID DInput_PIDVID_Product_GUID | DECLSPEC_HIDDEN |
Definition at line 57 of file device_private.h.
| HRESULT _build_action_map | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIACTIONFORMATW | lpdiaf, | ||
| LPCWSTR | lpszUserName, | ||
| DWORD | dwFlags, | ||
| DWORD | devMask, | ||
| LPCDIDATAFORMAT | df | ||
| ) |
Definition at line 791 of file device.c.
Referenced by SysKeyboardWImpl_BuildActionMap(), and SysMouseWImpl_BuildActionMap().
| void _dump_DIDATAFORMAT | ( | const DIDATAFORMAT * | df | ) |
Definition at line 242 of file device.c.
Referenced by IDirectInputDevice2WImpl_SetDataFormat().
Definition at line 197 of file device.c.
Referenced by _dump_DIDATAFORMAT(), _dump_OBJECTINSTANCEA(), _dump_OBJECTINSTANCEW(), create_DataFormat(), and typeFromGUID().
| void _dump_DIPROPHEADER | ( | LPCDIPROPHEADER | diph | ) |
Definition at line 176 of file device.c.
Referenced by IDirectInputDevice2WImpl_GetProperty(), IDirectInputDevice2WImpl_SetProperty(), JoystickWGenericImpl_GetProperty(), JoystickWGenericImpl_SetProperty(), SysKeyboardWImpl_GetProperty(), and SysMouseWImpl_GetProperty().
| void _dump_OBJECTINSTANCEA | ( | const DIDEVICEOBJECTINSTANCEA * | ddoi | ) |
Definition at line 186 of file device.c.
Referenced by SysKeyboardAImpl_GetObjectInfo().
| void _dump_OBJECTINSTANCEW | ( | const DIDEVICEOBJECTINSTANCEW * | ddoi | ) |
Definition at line 191 of file device.c.
Referenced by JoystickWGenericImpl_GetObjectInfo(), SysKeyboardWImpl_GetObjectInfo(), and SysMouseWImpl_GetObjectInfo().
| HRESULT _set_action_map | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIACTIONFORMATW | lpdiaf, | ||
| LPCWSTR | lpszUserName, | ||
| DWORD | dwFlags, | ||
| LPCDIDATAFORMAT | df | ||
| ) |
Definition at line 866 of file device.c.
Referenced by JoystickWGenericImpl_SetActionMap(), SysKeyboardWImpl_SetActionMap(), and SysMouseWImpl_SetActionMap().
| LPDIOBJECTDATAFORMAT dataformat_to_odf_by_type | ( | LPCDIDATAFORMAT | df, |
| int | n, | ||
| DWORD | type | ||
| ) |
Definition at line 412 of file device.c.
Referenced by _build_action_map(), _set_action_map(), and JoystickWGenericImpl_BuildActionMap().
Definition at line 326 of file device.c.
Referenced by JoystickWGenericImpl_GetDeviceState(), SysKeyboardWImpl_GetDeviceState(), and SysMouseWImpl_GetDeviceState().
| int find_property | ( | const DataFormat * | df, |
| LPCDIPROPHEADER | ph | ||
| ) |
Definition at line 607 of file device.c.
Referenced by JoystickWGenericImpl_GetProperty(), and JoystickWGenericImpl_SetProperty().
Definition at line 278 of file device.c.
Referenced by alloc_device(), device_disabled_registry(), and setup_dinput_options().
Definition at line 313 of file device.c.
Referenced by alloc_device(), device_disabled_registry(), and setup_dinput_options().
| int id_to_object | ( | LPCDIDATAFORMAT | df, |
| int | id | ||
| ) |
Definition at line 588 of file device.c.
Referenced by find_property(), and id_to_offset().
| HRESULT WINAPI IDirectInputDevice2AImpl_Acquire | ( | LPDIRECTINPUTDEVICE8A | iface | ) |
Definition at line 1097 of file device.c.
| ULONG WINAPI IDirectInputDevice2AImpl_AddRef | ( | LPDIRECTINPUTDEVICE8A | iface | ) |
Definition at line 1316 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_CreateEffect | ( | LPDIRECTINPUTDEVICE8A | iface, |
| REFGUID | rguid, | ||
| LPCDIEFFECT | lpeff, | ||
| LPDIRECTINPUTEFFECT * | ppdef, | ||
| LPUNKNOWN | pUnkOuter | ||
| ) |
Definition at line 1736 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_EnumCreatedEffectObjects | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPDIENUMCREATEDEFFECTOBJECTSCALLBACK | lpCallback, | ||
| LPVOID | lpvRef, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1821 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_EnumEffects | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPDIENUMEFFECTSCALLBACKA | lpCallback, | ||
| LPVOID | lpvRef, | ||
| DWORD | dwFlags | ||
| ) |
| HRESULT WINAPI IDirectInputDevice2AImpl_EnumObjects | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPDIENUMDEVICEOBJECTSCALLBACKA | lpCallback, | ||
| LPVOID | lpvRef, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1322 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_Escape | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPDIEFFESCAPE | lpDIEEsc | ||
| ) |
Definition at line 1835 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_GetDeviceData | ( | LPDIRECTINPUTDEVICE8A | iface, |
| DWORD | dodsize, | ||
| LPDIDEVICEOBJECTDATA | dod, | ||
| LPDWORD | entries, | ||
| DWORD | flags | ||
| ) |
Definition at line 1685 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_GetEffectInfo | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPDIEFFECTINFOA | lpdei, | ||
| REFGUID | rguid | ||
| ) |
| HRESULT WINAPI IDirectInputDevice2AImpl_GetForceFeedbackState | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPDWORD | pdwOut | ||
| ) |
Definition at line 1794 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_GetObjectInfo | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPDIDEVICEOBJECTINSTANCEA | pdidoi, | ||
| DWORD | dwObj, | ||
| DWORD | dwHow | ||
| ) |
Definition at line 1544 of file device.c.
Referenced by SysKeyboardAImpl_GetObjectInfo().
| HRESULT WINAPI IDirectInputDevice2AImpl_GetProperty | ( | LPDIRECTINPUTDEVICE8A | iface, |
| REFGUID | rguid, | ||
| LPDIPROPHEADER | pdiph | ||
| ) |
Definition at line 1440 of file device.c.
Referenced by SysKeyboardWImpl_GetProperty().
| HRESULT WINAPI IDirectInputDevice2AImpl_Initialize | ( | LPDIRECTINPUTDEVICE8A | iface, |
| HINSTANCE | hinst, | ||
| DWORD | dwVersion, | ||
| REFGUID | rguid | ||
| ) |
Definition at line 1714 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_Poll | ( | LPDIRECTINPUTDEVICE8A | iface | ) |
Definition at line 1851 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_QueryInterface | ( | LPDIRECTINPUTDEVICE8A | iface, |
| REFIID | riid, | ||
| LPVOID * | ppobj | ||
| ) |
Definition at line 1302 of file device.c.
| ULONG WINAPI IDirectInputDevice2AImpl_Release | ( | LPDIRECTINPUTDEVICE8A | iface | ) |
Definition at line 1267 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_RunControlPanel | ( | LPDIRECTINPUTDEVICE8A | iface, |
| HWND | hwndOwner, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1700 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_SendDeviceData | ( | LPDIRECTINPUTDEVICE8A | iface, |
| DWORD | cbObjectData, | ||
| LPCDIDEVICEOBJECTDATA | rgdod, | ||
| LPDWORD | pdwInOut, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1867 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_SendForceFeedbackCommand | ( | LPDIRECTINPUTDEVICE8A | iface, |
| DWORD | dwFlags | ||
| ) |
Definition at line 1807 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_SetCooperativeLevel | ( | LPDIRECTINPUTDEVICE8A | iface, |
| HWND | hwnd, | ||
| DWORD | dwflags | ||
| ) |
Definition at line 1203 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_SetDataFormat | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPCDIDATAFORMAT | df | ||
| ) |
Definition at line 1156 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_SetEventNotification | ( | LPDIRECTINPUTDEVICE8A | iface, |
| HANDLE | hnd | ||
| ) |
Definition at line 1224 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_SetProperty | ( | LPDIRECTINPUTDEVICE8A | iface, |
| REFGUID | rguid, | ||
| LPCDIPROPHEADER | pdiph | ||
| ) |
Definition at line 1537 of file device.c.
| HRESULT WINAPI IDirectInputDevice2AImpl_Unacquire | ( | LPDIRECTINPUTDEVICE8A | iface | ) |
Definition at line 1125 of file device.c.
| HRESULT WINAPI IDirectInputDevice2WImpl_Acquire | ( | LPDIRECTINPUTDEVICE8W | iface | ) |
Definition at line 1076 of file device.c.
Referenced by IDirectInputDevice2AImpl_Acquire(), SysKeyboardWImpl_Acquire(), and SysMouseWImpl_Acquire().
| ULONG WINAPI IDirectInputDevice2WImpl_AddRef | ( | LPDIRECTINPUTDEVICE8W | iface | ) |
Definition at line 1308 of file device.c.
Referenced by IDirectInputDevice2AImpl_AddRef().
| HRESULT WINAPI IDirectInputDevice2WImpl_CreateEffect | ( | LPDIRECTINPUTDEVICE8W | iface, |
| REFGUID | rguid, | ||
| LPCDIEFFECT | lpeff, | ||
| LPDIRECTINPUTEFFECT * | ppdef, | ||
| LPUNKNOWN | pUnkOuter | ||
| ) |
Definition at line 1725 of file device.c.
Referenced by IDirectInputDevice2AImpl_CreateEffect().
| HRESULT WINAPI IDirectInputDevice2WImpl_EnumCreatedEffectObjects | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIENUMCREATEDEFFECTOBJECTSCALLBACK | lpCallback, | ||
| LPVOID | lpvRef, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1813 of file device.c.
Referenced by IDirectInputDevice2AImpl_EnumCreatedEffectObjects().
| HRESULT WINAPI IDirectInputDevice2WImpl_EnumEffects | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIENUMEFFECTSCALLBACKW | lpCallback, | ||
| LPVOID | lpvRef, | ||
| DWORD | dwFlags | ||
| ) |
| HRESULT WINAPI IDirectInputDevice2WImpl_EnumObjects | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIENUMDEVICEOBJECTSCALLBACKW | lpCallback, | ||
| LPVOID | lpvRef, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1352 of file device.c.
| HRESULT WINAPI IDirectInputDevice2WImpl_Escape | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIEFFESCAPE | lpDIEEsc | ||
| ) |
Definition at line 1828 of file device.c.
Referenced by IDirectInputDevice2AImpl_Escape().
| HRESULT WINAPI IDirectInputDevice2WImpl_GetDeviceData | ( | LPDIRECTINPUTDEVICE8W | iface, |
| DWORD | dodsize, | ||
| LPDIDEVICEOBJECTDATA | dod, | ||
| LPDWORD | entries, | ||
| DWORD | flags | ||
| ) |
Definition at line 1629 of file device.c.
Referenced by IDirectInputDevice2AImpl_GetDeviceData(), and SysMouseWImpl_GetDeviceData().
| HRESULT WINAPI IDirectInputDevice2WImpl_GetEffectInfo | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIEFFECTINFOW | lpdei, | ||
| REFGUID | rguid | ||
| ) |
| HRESULT WINAPI IDirectInputDevice2WImpl_GetForceFeedbackState | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDWORD | pdwOut | ||
| ) |
Definition at line 1787 of file device.c.
Referenced by IDirectInputDevice2AImpl_GetForceFeedbackState().
| HRESULT WINAPI IDirectInputDevice2WImpl_GetObjectInfo | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIDEVICEOBJECTINSTANCEW | pdidoi, | ||
| DWORD | dwObj, | ||
| DWORD | dwHow | ||
| ) |
Definition at line 1576 of file device.c.
Referenced by IDirectInputDevice2AImpl_GetObjectInfo(), JoystickWGenericImpl_GetObjectInfo(), SysKeyboardWImpl_GetObjectInfo(), and SysMouseWImpl_GetObjectInfo().
| HRESULT WINAPI IDirectInputDevice2WImpl_GetProperty | ( | LPDIRECTINPUTDEVICE8W | iface, |
| REFGUID | rguid, | ||
| LPDIPROPHEADER | pdiph | ||
| ) |
Definition at line 1386 of file device.c.
Referenced by IDirectInputDevice2AImpl_GetProperty(), JoystickWGenericImpl_GetProperty(), and SysMouseWImpl_GetProperty().
| HRESULT WINAPI IDirectInputDevice2WImpl_Initialize | ( | LPDIRECTINPUTDEVICE8W | iface, |
| HINSTANCE | hinst, | ||
| DWORD | dwVersion, | ||
| REFGUID | rguid | ||
| ) |
Definition at line 1706 of file device.c.
Referenced by IDirectInputDevice2AImpl_Initialize().
| HRESULT WINAPI IDirectInputDevice2WImpl_Poll | ( | LPDIRECTINPUTDEVICE8W | iface | ) |
Definition at line 1841 of file device.c.
Referenced by IDirectInputDevice2AImpl_Poll().
| HRESULT WINAPI IDirectInputDevice2WImpl_QueryInterface | ( | LPDIRECTINPUTDEVICE8W | iface, |
| REFIID | riid, | ||
| LPVOID * | ppobj | ||
| ) |
Definition at line 1273 of file device.c.
Referenced by IDirectInputDevice2AImpl_QueryInterface().
| ULONG WINAPI IDirectInputDevice2WImpl_Release | ( | LPDIRECTINPUTDEVICE8W | iface | ) |
Definition at line 1231 of file device.c.
Referenced by IDirectInputDevice2AImpl_Release().
| HRESULT WINAPI IDirectInputDevice2WImpl_RunControlPanel | ( | LPDIRECTINPUTDEVICE8W | iface, |
| HWND | hwndOwner, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1692 of file device.c.
Referenced by IDirectInputDevice2AImpl_RunControlPanel().
| HRESULT WINAPI IDirectInputDevice2WImpl_SendDeviceData | ( | LPDIRECTINPUTDEVICE8W | iface, |
| DWORD | cbObjectData, | ||
| LPCDIDEVICEOBJECTDATA | rgdod, | ||
| LPDWORD | pdwInOut, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1857 of file device.c.
Referenced by IDirectInputDevice2AImpl_SendDeviceData().
| HRESULT WINAPI IDirectInputDevice2WImpl_SendForceFeedbackCommand | ( | LPDIRECTINPUTDEVICE8W | iface, |
| DWORD | dwFlags | ||
| ) |
Definition at line 1800 of file device.c.
Referenced by IDirectInputDevice2AImpl_SendForceFeedbackCommand().
| HRESULT WINAPI IDirectInputDevice2WImpl_SetCooperativeLevel | ( | LPDIRECTINPUTDEVICE8W | iface, |
| HWND | hwnd, | ||
| DWORD | dwflags | ||
| ) |
Definition at line 1167 of file device.c.
Referenced by IDirectInputDevice2AImpl_SetCooperativeLevel().
| HRESULT WINAPI IDirectInputDevice2WImpl_SetDataFormat | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPCDIDATAFORMAT | df | ||
| ) |
Definition at line 1135 of file device.c.
Referenced by IDirectInputDevice2AImpl_SetDataFormat().
| HRESULT WINAPI IDirectInputDevice2WImpl_SetEventNotification | ( | LPDIRECTINPUTDEVICE8W | iface, |
| HANDLE | hnd | ||
| ) |
Definition at line 1212 of file device.c.
Referenced by IDirectInputDevice2AImpl_SetEventNotification().
| HRESULT WINAPI IDirectInputDevice2WImpl_SetProperty | ( | LPDIRECTINPUTDEVICE8W | iface, |
| REFGUID | rguid, | ||
| LPCDIPROPHEADER | pdiph | ||
| ) |
Definition at line 1450 of file device.c.
Referenced by IDirectInputDevice2AImpl_SetProperty(), and JoystickWGenericImpl_SetProperty().
| HRESULT WINAPI IDirectInputDevice2WImpl_Unacquire | ( | LPDIRECTINPUTDEVICE8W | iface | ) |
Definition at line 1108 of file device.c.
Referenced by IDirectInputDevice2AImpl_Unacquire(), and SysMouseWImpl_Unacquire().
| HRESULT WINAPI IDirectInputDevice7AImpl_EnumEffectsInFile | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPCSTR | lpszFileName, | ||
| LPDIENUMEFFECTSINFILECALLBACK | pec, | ||
| LPVOID | pvRef, | ||
| DWORD | dwFlags | ||
| ) |
| HRESULT WINAPI IDirectInputDevice7AImpl_WriteEffectToFile | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPCSTR | lpszFileName, | ||
| DWORD | dwEntries, | ||
| LPDIFILEEFFECT | rgDiFileEft, | ||
| DWORD | dwFlags | ||
| ) |
| HRESULT WINAPI IDirectInputDevice7WImpl_EnumEffectsInFile | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPCWSTR | lpszFileName, | ||
| LPDIENUMEFFECTSINFILECALLBACK | pec, | ||
| LPVOID | pvRef, | ||
| DWORD | dwFlags | ||
| ) |
| HRESULT WINAPI IDirectInputDevice7WImpl_WriteEffectToFile | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPCWSTR | lpszFileName, | ||
| DWORD | dwEntries, | ||
| LPDIFILEEFFECT | rgDiFileEft, | ||
| DWORD | dwFlags | ||
| ) |
| HRESULT WINAPI IDirectInputDevice8AImpl_GetImageInfo | ( | LPDIRECTINPUTDEVICE8A | iface, |
| LPDIDEVICEIMAGEINFOHEADERA | lpdiDevImageInfoHeader | ||
| ) |
| HRESULT WINAPI IDirectInputDevice8WImpl_BuildActionMap | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIACTIONFORMATW | lpdiaf, | ||
| LPCWSTR | lpszUserName, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1924 of file device.c.
Referenced by _build_action_map(), and JoystickWGenericImpl_BuildActionMap().
| HRESULT WINAPI IDirectInputDevice8WImpl_GetImageInfo | ( | LPDIRECTINPUTDEVICE8W | iface, |
| LPDIDEVICEIMAGEINFOHEADERW | lpdiDevImageInfoHeader | ||
| ) |
Definition at line 985 of file joystick.c.
| BOOL load_mapping_settings | ( | IDirectInputDeviceImpl * | This, |
| LPDIACTIONFORMATW | lpdiaf, | ||
| const WCHAR * | username | ||
| ) |
Definition at line 740 of file device.c.
Referenced by _build_action_map(), and JoystickWGenericImpl_BuildActionMap().
Definition at line 1025 of file device.c.
Referenced by dinput_mouse_hook(), and KeyboardCallback().
| void release_DataFormat | ( | DataFormat * | df | ) |
Definition at line 391 of file device.c.
Referenced by IDirectInputDevice2WImpl_Release(), and IDirectInputDevice2WImpl_SetDataFormat().
| HRESULT save_mapping_settings | ( | IDirectInputDevice8W * | iface, |
| LPDIACTIONFORMATW | lpdiaf, | ||
| LPCWSTR | lpszUsername | ||
| ) |
Definition at line 695 of file device.c.
Referenced by _set_action_map(), and save_actions().
|
extern |
Definition at line 289 of file d3dcompiler_private.h.