From 8ada79d158fefec71ef6678244d9e7b3018afff9 Mon Sep 17 00:00:00 2001 From: Date: Tue, 6 Nov 2001 22:26:26 +0000 Subject: [PATCH] Devices never need to be polled, so return DI_NOEFFECT in Poll. --- dlls/dinput/device.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c index 873f0c10234..fc4e81da8c0 100644 --- a/dlls/dinput/device.c +++ b/dlls/dinput/device.c @@ -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(