ReactOS 0.4.16-dev-297-gc569aee
dinputd.h File Reference
#include <objbase.h>
Include dependency graph for dinputd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  joypos_tag
 
struct  joyrange_tag
 
struct  joyreguservalues_tag
 
struct  joyreghwsettings_tag
 
struct  joyreghwvalues_tag
 
struct  joyreghwconfig_tag
 
struct  DIJOYTYPEINFO_DX5
 
struct  DIJOYTYPEINFO_DX6
 
struct  DIJOYTYPEINFO
 
struct  DIJOYCONFIG_DX5
 
struct  DIJOYCONFIG
 
struct  DIJOYUSERVALUES
 

Macros

#define COM_NO_WINDOWS_H
 
#define DIRECTINPUT_VERSION   0x0800
 
#define MAX_JOYSTRING   256
 
#define MAX_JOYSTICKOEMVXDNAME   260
 
#define JOY_POV_NUMDIRS   4
 
#define JOY_POVVAL_FORWARD   0
 
#define JOY_POVVAL_BACKWARD   1
 
#define JOY_POVVAL_LEFT   2
 
#define JOY_POVVAL_RIGHT   3
 
#define DIERR_NOMOREITEMS   MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_NO_MORE_ITEMS)
 
#define DIJC_GUIDINSTANCE   0x00000001
 
#define DIJC_REGHWCONFIGTYPE   0x00000002
 
#define DIJC_GAIN   0x00000004
 
#define DIJC_CALLOUT   0x00000008
 
#define DIJC_WDMGAMEPORT   0x00000010
 
#define INTERFACE   IDirectInputJoyConfig8
 
#define IDirectInputJoyConfig8_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IDirectInputJoyConfig8_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IDirectInputJoyConfig8_Release(p)   (p)->lpVtbl->Release(p)
 
#define IDirectInputJoyConfig8_Acquire(p)   (p)->lpVtbl->Acquire(p)
 
#define IDirectInputJoyConfig8_Unacquire(p)   (p)->lpVtbl->Unacquire(p)
 
#define IDirectInputJoyConfig8_SetCooperativeLevel(p, a, b)   (p)->lpVtbl->SetCooperativeLevel(p,a,b)
 
#define IDirectInputJoyConfig8_SendNotify(p)   (p)->lpVtbl->SendNotify(p)
 
#define IDirectInputJoyConfig8_EnumTypes(p, a, b)   (p)->lpVtbl->EnumTypes(p,a,b)
 
#define IDirectInputJoyConfig8_GetTypeInfo(p, a, b, c)   (p)->lpVtbl->GetTypeInfo(p,a,b,c)
 
#define IDirectInputJoyConfig8_SetTypeInfo(p, a, b, c, d)   (p)->lpVtbl->SetTypeInfo(p,a,b,c,d)
 
#define IDirectInputJoyConfig8_DeleteType(p, a)   (p)->lpVtbl->DeleteType(p,a)
 
#define IDirectInputJoyConfig8_GetConfig(p, a, b, c)   (p)->lpVtbl->GetConfig(p,a,b,c)
 
#define IDirectInputJoyConfig8_SetConfig(p, a, b, c)   (p)->lpVtbl->SetConfig(p,a,b,c)
 
#define IDirectInputJoyConfig8_DeleteConfig(p, a)   (p)->lpVtbl->DeleteConfig(p,a)
 
#define IDirectInputJoyConfig8_GetUserValues(p, a, b)   (p)->lpVtbl->GetUserValues(p,a,b)
 
#define IDirectInputJoyConfig8_SetUserValues(p, a, b)   (p)->lpVtbl->SetUserValues(p,a,b)
 
#define IDirectInputJoyConfig8_AddNewHardware(p, a, b)   (p)->lpVtbl->AddNewHardware(p,a,b)
 
#define IDirectInputJoyConfig8_OpenTypeKey(p, a, b, c)   (p)->lpVtbl->OpenTypeKey(p,a,b,c)
 
#define IDirectInputJoyConfig8_OpenAppStatusKey(p, a)   (p)->lpVtbl->OpenAppStatusKey(p,a)
 

Typedefs

typedef struct IDirectInputJoyConfig8 * LPDIRECTINPUTJOYCONFIG8
 
typedef BOOL(CALLBACKLPDIJOYTYPECALLBACK) (LPCWSTR, LPVOID)
 
typedef struct joypos_tag JOYPOS
 
typedef struct joypos_tagLPJOYPOS
 
typedef struct joyrange_tag JOYRANGE
 
typedef struct joyrange_tagLPJOYRANGE
 
typedef struct joyreguservalues_tag JOYREGUSERVALUES
 
typedef struct joyreguservalues_tagLPJOYREGUSERVALUES
 
typedef struct joyreghwsettings_tag JOYREGHWSETTINGS
 
typedef struct joyreghwsettings_tagLPJOYHWSETTINGS
 
typedef struct joyreghwvalues_tag JOYREGHWVALUES
 
typedef struct joyreghwvalues_tagLPJOYREGHWVALUES
 
typedef struct joyreghwconfig_tag JOYREGHWCONFIG
 
typedef struct joyreghwconfig_tagLPJOYREGHWCONFIG
 
typedef struct DIJOYTYPEINFO_DX5 DIJOYTYPEINFO_DX5
 
typedef struct DIJOYTYPEINFO_DX5LPDIJOYTYPEINFO_DX5
 
typedef const DIJOYTYPEINFO_DX5LPCDIJOYTYPEINFO_DX5
 
typedef struct DIJOYTYPEINFO_DX6 DIJOYTYPEINFO_DX6
 
typedef struct DIJOYTYPEINFO_DX6LPDIJOYTYPEINFO_DX6
 
typedef const DIJOYTYPEINFO_DX6LPCDIJOYTYPEINFO_DX6
 
typedef struct DIJOYTYPEINFO DIJOYTYPEINFO
 
typedef struct DIJOYTYPEINFOLPDIJOYTYPEINFO
 
typedef const DIJOYTYPEINFOLPCDIJOYTYPEINFO
 
typedef struct DIJOYCONFIG_DX5 DIJOYCONFIG_DX5
 
typedef struct DIJOYCONFIG_DX5LPDIJOYCONFIG_DX5
 
typedef const DIJOYCONFIG_DX5LPCDIJOYCONFIG_DX5
 
typedef struct DIJOYCONFIG DIJOYCONFIG
 
typedef struct DIJOYCONFIGLPDIJOYCONFIG
 
typedef const DIJOYCONFIGLPCDIJOYCONFIG
 
typedef struct DIJOYUSERVALUES DIJOYUSERVALUES
 
typedef struct DIJOYUSERVALUESLPDIJOYUSERVALUES
 
typedef const DIJOYUSERVALUESLPCDIJOYUSERVALUES
 

Functions

 DEFINE_GUID (IID_IDirectInputJoyConfig8, 0xEB0D7DFA, 0x1990, 0x4F27, 0xB4, 0xD6, 0xED, 0xF2, 0xEE, 0xC4, 0xA4, 0x4C)
 
 DECLARE_INTERFACE_ (IDirectInputJoyConfig8, IUnknown)
 

Macro Definition Documentation

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 22 of file dinputd.h.

◆ DIERR_NOMOREITEMS

Definition at line 47 of file dinputd.h.

◆ DIJC_CALLOUT

#define DIJC_CALLOUT   0x00000008

Definition at line 133 of file dinputd.h.

◆ DIJC_GAIN

#define DIJC_GAIN   0x00000004

Definition at line 132 of file dinputd.h.

◆ DIJC_GUIDINSTANCE

#define DIJC_GUIDINSTANCE   0x00000001

Definition at line 130 of file dinputd.h.

◆ DIJC_REGHWCONFIGTYPE

#define DIJC_REGHWCONFIGTYPE   0x00000002

Definition at line 131 of file dinputd.h.

◆ DIJC_WDMGAMEPORT

#define DIJC_WDMGAMEPORT   0x00000010

Definition at line 134 of file dinputd.h.

◆ DIRECTINPUT_VERSION

#define DIRECTINPUT_VERSION   0x0800

Definition at line 26 of file dinputd.h.

◆ IDirectInputJoyConfig8_Acquire

#define IDirectInputJoyConfig8_Acquire (   p)    (p)->lpVtbl->Acquire(p)

Definition at line 205 of file dinputd.h.

◆ IDirectInputJoyConfig8_AddNewHardware

#define IDirectInputJoyConfig8_AddNewHardware (   p,
  a,
  b 
)    (p)->lpVtbl->AddNewHardware(p,a,b)

Definition at line 218 of file dinputd.h.

◆ IDirectInputJoyConfig8_AddRef

#define IDirectInputJoyConfig8_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 202 of file dinputd.h.

◆ IDirectInputJoyConfig8_DeleteConfig

#define IDirectInputJoyConfig8_DeleteConfig (   p,
  a 
)    (p)->lpVtbl->DeleteConfig(p,a)

Definition at line 215 of file dinputd.h.

◆ IDirectInputJoyConfig8_DeleteType

#define IDirectInputJoyConfig8_DeleteType (   p,
  a 
)    (p)->lpVtbl->DeleteType(p,a)

Definition at line 212 of file dinputd.h.

◆ IDirectInputJoyConfig8_EnumTypes

#define IDirectInputJoyConfig8_EnumTypes (   p,
  a,
  b 
)    (p)->lpVtbl->EnumTypes(p,a,b)

Definition at line 209 of file dinputd.h.

◆ IDirectInputJoyConfig8_GetConfig

#define IDirectInputJoyConfig8_GetConfig (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetConfig(p,a,b,c)

Definition at line 213 of file dinputd.h.

◆ IDirectInputJoyConfig8_GetTypeInfo

#define IDirectInputJoyConfig8_GetTypeInfo (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetTypeInfo(p,a,b,c)

Definition at line 210 of file dinputd.h.

◆ IDirectInputJoyConfig8_GetUserValues

#define IDirectInputJoyConfig8_GetUserValues (   p,
  a,
  b 
)    (p)->lpVtbl->GetUserValues(p,a,b)

Definition at line 216 of file dinputd.h.

◆ IDirectInputJoyConfig8_OpenAppStatusKey

#define IDirectInputJoyConfig8_OpenAppStatusKey (   p,
  a 
)    (p)->lpVtbl->OpenAppStatusKey(p,a)

Definition at line 220 of file dinputd.h.

◆ IDirectInputJoyConfig8_OpenTypeKey

#define IDirectInputJoyConfig8_OpenTypeKey (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->OpenTypeKey(p,a,b,c)

Definition at line 219 of file dinputd.h.

◆ IDirectInputJoyConfig8_QueryInterface

#define IDirectInputJoyConfig8_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 201 of file dinputd.h.

◆ IDirectInputJoyConfig8_Release

#define IDirectInputJoyConfig8_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 203 of file dinputd.h.

◆ IDirectInputJoyConfig8_SendNotify

#define IDirectInputJoyConfig8_SendNotify (   p)    (p)->lpVtbl->SendNotify(p)

Definition at line 208 of file dinputd.h.

◆ IDirectInputJoyConfig8_SetConfig

#define IDirectInputJoyConfig8_SetConfig (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetConfig(p,a,b,c)

Definition at line 214 of file dinputd.h.

◆ IDirectInputJoyConfig8_SetCooperativeLevel

#define IDirectInputJoyConfig8_SetCooperativeLevel (   p,
  a,
  b 
)    (p)->lpVtbl->SetCooperativeLevel(p,a,b)

Definition at line 207 of file dinputd.h.

◆ IDirectInputJoyConfig8_SetTypeInfo

#define IDirectInputJoyConfig8_SetTypeInfo (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->SetTypeInfo(p,a,b,c,d)

Definition at line 211 of file dinputd.h.

◆ IDirectInputJoyConfig8_SetUserValues

#define IDirectInputJoyConfig8_SetUserValues (   p,
  a,
  b 
)    (p)->lpVtbl->SetUserValues(p,a,b)

Definition at line 217 of file dinputd.h.

◆ IDirectInputJoyConfig8_Unacquire

#define IDirectInputJoyConfig8_Unacquire (   p)    (p)->lpVtbl->Unacquire(p)

Definition at line 206 of file dinputd.h.

◆ INTERFACE

#define INTERFACE   IDirectInputJoyConfig8

Definition at line 172 of file dinputd.h.

◆ JOY_POV_NUMDIRS

#define JOY_POV_NUMDIRS   4

Definition at line 41 of file dinputd.h.

◆ JOY_POVVAL_BACKWARD

#define JOY_POVVAL_BACKWARD   1

Definition at line 43 of file dinputd.h.

◆ JOY_POVVAL_FORWARD

#define JOY_POVVAL_FORWARD   0

Definition at line 42 of file dinputd.h.

◆ JOY_POVVAL_LEFT

#define JOY_POVVAL_LEFT   2

Definition at line 44 of file dinputd.h.

◆ JOY_POVVAL_RIGHT

#define JOY_POVVAL_RIGHT   3

Definition at line 45 of file dinputd.h.

◆ MAX_JOYSTICKOEMVXDNAME

#define MAX_JOYSTICKOEMVXDNAME   260

Definition at line 38 of file dinputd.h.

◆ MAX_JOYSTRING

#define MAX_JOYSTRING   256

Definition at line 36 of file dinputd.h.

Typedef Documentation

◆ DIJOYCONFIG

◆ DIJOYCONFIG_DX5

◆ DIJOYTYPEINFO

◆ DIJOYTYPEINFO_DX5

◆ DIJOYTYPEINFO_DX6

◆ DIJOYUSERVALUES

◆ JOYPOS

◆ JOYRANGE

◆ JOYREGHWCONFIG

◆ JOYREGHWSETTINGS

◆ JOYREGHWVALUES

◆ JOYREGUSERVALUES

◆ LPCDIJOYCONFIG

Definition at line 157 of file dinputd.h.

◆ LPCDIJOYCONFIG_DX5

Definition at line 145 of file dinputd.h.

◆ LPCDIJOYTYPEINFO

Definition at line 129 of file dinputd.h.

◆ LPCDIJOYTYPEINFO_DX5

Definition at line 103 of file dinputd.h.

◆ LPCDIJOYTYPEINFO_DX6

Definition at line 115 of file dinputd.h.

◆ LPCDIJOYUSERVALUES

Definition at line 166 of file dinputd.h.

◆ LPDIJOYCONFIG

◆ LPDIJOYCONFIG_DX5

◆ LPDIJOYTYPECALLBACK

typedef BOOL(CALLBACK * LPDIJOYTYPECALLBACK) (LPCWSTR, LPVOID)

Definition at line 34 of file dinputd.h.

◆ LPDIJOYTYPEINFO

◆ LPDIJOYTYPEINFO_DX5

◆ LPDIJOYTYPEINFO_DX6

◆ LPDIJOYUSERVALUES

◆ LPDIRECTINPUTJOYCONFIG8

typedef struct IDirectInputJoyConfig8* LPDIRECTINPUTJOYCONFIG8

Definition at line 31 of file dinputd.h.

◆ LPJOYHWSETTINGS

◆ LPJOYPOS

◆ LPJOYRANGE

◆ LPJOYREGHWCONFIG

◆ LPJOYREGHWVALUES

◆ LPJOYREGUSERVALUES

Function Documentation

◆ DECLARE_INTERFACE_()

DECLARE_INTERFACE_ ( IDirectInputJoyConfig8  ,
IUnknown   
)

Definition at line 173 of file dinputd.h.

174{
175 /*** IUnknown methods ***/
179 /*** IDirectInputJoyConfig8 methods ***/
180 STDMETHOD(Acquire)(THIS) PURE;
181 STDMETHOD(Unacquire)(THIS) PURE;
182 STDMETHOD(SetCooperativeLevel)(THIS_ HWND, DWORD) PURE;
187 STDMETHOD(DeleteType)(THIS_ LPCWSTR) PURE;
190 STDMETHOD(DeleteConfig)(THIS_ UINT) PURE;
191 STDMETHOD(GetUserValues)(THIS_ LPDIJOYUSERVALUES, DWORD) PURE;
193 STDMETHOD(AddNewHardware)(THIS_ HWND, REFGUID) PURE;
194 STDMETHOD(OpenTypeKey)(THIS_ LPCWSTR, DWORD, PHKEY) PURE;
195 STDMETHOD(OpenAppStatusKey)(THIS_ PHKEY) PURE;
196};
BOOL SetConfig(LPCTSTR *ServiceArgs, INT ArgCount)
Definition: config.c:199
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
HANDLE * PHKEY
Definition: registry.h:26
_In_ BOOLEAN Release
Definition: cdrom.h:920
const DIJOYUSERVALUES * LPCDIJOYUSERVALUES
Definition: dinputd.h:166
struct DIJOYUSERVALUES * LPDIJOYUSERVALUES
const DIJOYTYPEINFO * LPCDIJOYTYPEINFO
Definition: dinputd.h:129
BOOL(CALLBACK * LPDIJOYTYPECALLBACK)(LPCWSTR, LPVOID)
Definition: dinputd.h:34
struct DIJOYCONFIG * LPDIJOYCONFIG
const DIJOYCONFIG * LPCDIJOYCONFIG
Definition: dinputd.h:157
struct DIJOYTYPEINFO * LPDIJOYTYPEINFO
HANDLE HWND
Definition: compat.h:19
REFIID riid
Definition: atlbase.h:39
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int UINT
Definition: ndis.h:50
#define DWORD
Definition: nt_native.h:44
#define LPVOID
Definition: nt_native.h:45
#define REFGUID
Definition: guiddef.h:116
#define REFIID
Definition: guiddef.h:118
static LRESULT SendNotify(TreeListData *pData, NMHDR *pNotify)
Definition: treelist.c:530
uint32_t ULONG
Definition: typedefs.h:59
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185

◆ DEFINE_GUID()

DEFINE_GUID ( IID_IDirectInputJoyConfig8  ,
0xEB0D7DFA  ,
0x1990  ,
0x4F27  ,
0xB4  ,
0xD6  ,
0xED  ,
0xF2  ,
0xEE  ,
0xC4  ,
0xA4  ,
0x4C   
)