Devices never need to be polled, so return DI_NOEFFECT in Poll.

This commit is contained in:
2001-11-06 22:26:26 +00:00 committed by Alexandre Julliard
parent 9e5af61ed5
commit 8ada79d158
1 changed files with 2 additions and 3 deletions

View File

@ -498,9 +498,8 @@ HRESULT WINAPI IDirectInputDevice2AImpl_Escape(
HRESULT WINAPI IDirectInputDevice2AImpl_Poll(
LPDIRECTINPUTDEVICE2A iface)
{
FIXME("(this=%p): stub!\n",
iface);
return DI_OK;
/* Because wine devices do not need to be polled, just return DI_NOEFFECT */
return DI_NOEFFECT;
}
HRESULT WINAPI IDirectInputDevice2AImpl_SendDeviceData(