mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
Added stubs for two missing methods of DInput.
This commit is contained in:
parent
582cf8f6f4
commit
75e8a78efa
@ -274,14 +274,34 @@ static HRESULT WINAPI IDirectInputAImpl_Initialize(
|
|||||||
return DIERR_ALREADYINITIALIZED;
|
return DIERR_ALREADYINITIALIZED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static HRESULT WINAPI IDirectInputAImpl_GetDeviceStatus(LPDIRECTINPUTA iface,
|
||||||
|
REFGUID rguid) {
|
||||||
|
ICOM_THIS(IDirectInputAImpl,iface);
|
||||||
|
char xbuf[50];
|
||||||
|
|
||||||
|
WINE_StringFromCLSID(rguid,xbuf);
|
||||||
|
FIXME(dinput,"(%p)->(%s): stub\n",This,xbuf);
|
||||||
|
|
||||||
|
return DI_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
static HRESULT WINAPI IDirectInputAImpl_RunControlPanel(LPDIRECTINPUTA iface,
|
||||||
|
HWND32 hwndOwner,
|
||||||
|
DWORD dwFlags) {
|
||||||
|
ICOM_THIS(IDirectInputAImpl,iface);
|
||||||
|
FIXME(dinput,"(%p)->(%08lx,%08lx): stub\n",This, (DWORD) hwndOwner, dwFlags);
|
||||||
|
|
||||||
|
return DI_OK;
|
||||||
|
}
|
||||||
|
|
||||||
static ICOM_VTABLE(IDirectInputA) ddiavt= {
|
static ICOM_VTABLE(IDirectInputA) ddiavt= {
|
||||||
IDirectInputAImpl_QueryInterface,
|
IDirectInputAImpl_QueryInterface,
|
||||||
IDirectInputAImpl_AddRef,
|
IDirectInputAImpl_AddRef,
|
||||||
IDirectInputAImpl_Release,
|
IDirectInputAImpl_Release,
|
||||||
IDirectInputAImpl_CreateDevice,
|
IDirectInputAImpl_CreateDevice,
|
||||||
IDirectInputAImpl_EnumDevices,
|
IDirectInputAImpl_EnumDevices,
|
||||||
(void*)6,
|
IDirectInputAImpl_GetDeviceStatus,
|
||||||
(void*)7,
|
IDirectInputAImpl_RunControlPanel,
|
||||||
IDirectInputAImpl_Initialize
|
IDirectInputAImpl_Initialize
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1008,6 +1028,8 @@ static HRESULT WINAPI SysMouseAImpl_GetDeviceData(LPDIRECTINPUTDEVICE2A iface,
|
|||||||
return DIERR_INVALIDPARAM;
|
return DIERR_INVALIDPARAM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TRACE(dinput, "Application retrieving %d event(s).\n", This->queue_pos);
|
||||||
|
|
||||||
/* Copy the buffered data into the application queue */
|
/* Copy the buffered data into the application queue */
|
||||||
memcpy(dod, This->data_queue, This->queue_pos * dodsize);
|
memcpy(dod, This->data_queue, This->queue_pos * dodsize);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user