mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
54 lines
2.0 KiB
Diff
54 lines
2.0 KiB
Diff
|
From 66d48431b91c17e3f87246e2c2243b2c2b5b30fb Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?R=C3=A9mi=20Bernon?= <rbernon@codeweavers.com>
|
||
|
Date: Tue, 13 Oct 2020 18:03:24 +0200
|
||
|
Subject: [PATCH 8/9] windows.gaming.input: Fake empty
|
||
|
IRawGameControllerStatics::RawGameControllers vector.
|
||
|
|
||
|
---
|
||
|
.../windows.gaming.input_main.c | 11 +++++++----
|
||
|
1 file changed, 7 insertions(+), 4 deletions(-)
|
||
|
|
||
|
diff --git a/dlls/windows.gaming.input.dll/windows.gaming.input_main.c b/dlls/windows.gaming.input.dll/windows.gaming.input_main.c
|
||
|
index c73f08b248d..53f0b7e61fd 100644
|
||
|
--- a/dlls/windows.gaming.input.dll/windows.gaming.input_main.c
|
||
|
+++ b/dlls/windows.gaming.input.dll/windows.gaming.input_main.c
|
||
|
@@ -236,28 +236,31 @@ static HRESULT STDMETHODCALLTYPE vector_view_raw_game_controller_GetAt(
|
||
|
IVectorView_RawGameController *iface, ULONG index, IRawGameController **value)
|
||
|
{
|
||
|
FIXME("iface %p, index %#x, value %p stub!\n", iface, index, value);
|
||
|
- return E_NOTIMPL;
|
||
|
+ return S_OK;
|
||
|
}
|
||
|
|
||
|
static HRESULT STDMETHODCALLTYPE vector_view_raw_game_controller_get_Size(
|
||
|
IVectorView_RawGameController *iface, ULONG *value)
|
||
|
{
|
||
|
FIXME("iface %p, value %p stub!\n", iface, value);
|
||
|
- return E_NOTIMPL;
|
||
|
+ *value = 0;
|
||
|
+ return S_OK;
|
||
|
}
|
||
|
|
||
|
static HRESULT STDMETHODCALLTYPE vector_view_raw_game_controller_IndexOf(
|
||
|
IVectorView_RawGameController *iface, IRawGameController *element, ULONG *index, BOOLEAN *value)
|
||
|
{
|
||
|
FIXME("iface %p, element %p, index %p, value %p stub!\n", iface, element, index, value);
|
||
|
- return E_NOTIMPL;
|
||
|
+ *value = FALSE;
|
||
|
+ return S_OK;
|
||
|
}
|
||
|
|
||
|
static HRESULT STDMETHODCALLTYPE vector_view_raw_game_controller_GetMany(
|
||
|
IVectorView_RawGameController *iface, ULONG start_index, IRawGameController **items, UINT *value)
|
||
|
{
|
||
|
FIXME("iface %p, start_index %#x, items %p, value %p stub!\n", iface, start_index, items, value);
|
||
|
- return E_NOTIMPL;
|
||
|
+ *value = 0;
|
||
|
+ return S_OK;
|
||
|
}
|
||
|
|
||
|
static const struct IVectorView_RawGameControllerVtbl vector_view_raw_game_controller_vtbl =
|
||
|
--
|
||
|
2.28.0
|
||
|
|