3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright (C) the Wine project
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is free software; you can redistribute it and/or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * modify it under the terms of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License as published by the Free Software Foundation; either
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * version 2.1 of the License, or (at your option) any later version.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is distributed in the hope that it will be useful,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Lesser General Public License for more details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You should have received a copy of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License along with this library; if not, write to the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a choice of LGPL license versions is made available with the language indicating
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the LGPL is applied is otherwise unspecified.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IDirectInputJoyConfig8, 0xEB0D7DFA,0x1990,0x4F27,0xB4,0xD6,0xED,0xF2,0xEE,0xC4,0xA4,0x4C);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct IDirectInputJoyConfig8 *LPDIRECTINPUTJOYCONFIG8;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef BOOL (CALLBACK *LPDIJOYTYPECALLBACK)(LPCWSTR, LPVOID);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define DIERR_NOMOREITEMS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_NO_MORE_ITEMS)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DIJOYTYPEINFO_DX5 *LPCDIJOYTYPEINFO_DX5;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef const DIJOYTYPEINFO_DX6 *LPCDIJOYTYPEINFO_DX6;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*****************************************************************************
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IDirectInputJoyConfig8 interface
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_(IDirectInputJoyConfig8, IUnknown)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /*** IDirectInputJoyConfig8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetCooperativeLevel)(THIS_ HWND, DWORD) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(EnumTypes)(THIS_ LPDIJOYTYPECALLBACK, LPVOID) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetTypeInfo)(THIS_ LPCWSTR, LPDIJOYTYPEINFO, DWORD) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetTypeInfo)(THIS_ LPCWSTR, LPCDIJOYTYPEINFO, DWORD, LPWSTR) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetConfig)(THIS_ UINT, LPDIJOYCONFIG, DWORD) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetConfig)(THIS_ UINT, LPCDIJOYCONFIG, DWORD) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetUserValues)(THIS_ LPDIJOYUSERVALUES, DWORD) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetUserValues)(THIS_ LPCDIJOYUSERVALUES, DWORD) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(AddNewHardware)(THIS_ HWND, REFGUID) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(OpenTypeKey)(THIS_ LPCWSTR, DWORD, PHKEY) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_AddRef(p) (p)->lpVtbl->AddRef(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_Release(p) (p)->lpVtbl->Release(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectInputJoyConfig8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_Acquire(p) (p)->lpVtbl->Acquire(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_Unacquire(p) (p)->lpVtbl->Unacquire(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SetCooperativeLevel(p,a,b) (p)->lpVtbl->SetCooperativeLevel(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SendNotify(p) (p)->lpVtbl->SendNotify(p)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_EnumTypes(p,a,b) (p)->lpVtbl->EnumTypes(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_GetTypeInfo(p,a,b,c) (p)->lpVtbl->GetTypeInfo(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SetTypeInfo(p,a,b,c,d) (p)->lpVtbl->SetTypeInfo(p,a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_DeleteType(p,a) (p)->lpVtbl->DeleteType(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_GetConfig(p,a,b,c) (p)->lpVtbl->GetConfig(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SetConfig(p,a,b,c) (p)->lpVtbl->SetConfig(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_DeleteConfig(p,a) (p)->lpVtbl->DeleteConfig(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_GetUserValues(p,a,b) (p)->lpVtbl->GetUserValues(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SetUserValues(p,a,b) (p)->lpVtbl->SetUserValues(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_AddNewHardware(p,a,b) (p)->lpVtbl->AddNewHardware(p,a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_OpenTypeKey(p,a,b,c) (p)->lpVtbl->OpenTypeKey(p,a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_OpenAppStatusKey(p,a) (p)->lpVtbl->OpenAppStatusKey(p,a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IUnknown methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_AddRef(p) (p)->AddRef()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_Release(p) (p)->Release()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*** IDirectInputJoyConfig8 methods ***/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_Acquire(p) (p)->Acquire()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_Unacquire(p) (p)->Unacquire()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SetCooperativeLevel(p,a,b) (p)->SetCooperativeLevel(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SendNotify(p) (p)->SendNotify()
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_EnumTypes(p,a,b) (p)->EnumTypes(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_GetTypeInfo(p,a,b,c) (p)->GetTypeInfo(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SetTypeInfo(p,a,b,c,d) (p)->SetTypeInfo(a,b,c,d)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_DeleteType(p,a) (p)->DeleteType(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_GetConfig(p,a,b,c) (p)->GetConfig(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SetConfig(p,a,b,c) (p)->SetConfig(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_DeleteConfig(p,a) (p)->DeleteConfig(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_GetUserValues(p,a,b) (p)->GetUserValues(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_SetUserValues(p,a,b) (p)->SetUserValues(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_AddNewHardware(p,a,b) (p)->AddNewHardware(a,b)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_OpenTypeKey(p,a,b,c) (p)->OpenTypeKey(a,b,c)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define IDirectInputJoyConfig8_OpenAppStatusKey(p,a) (p)->OpenAppStatusKey(a)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* __DINPUTD_INCLUDED__ */