2 * Copyright 2021 Paul Gofman for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
24 #include "gamingtcui.h"
26 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(gamingtcui
);
30 HRESULT WINAPI
ProcessPendingGameUI(BOOL wait_for_completion
)
32 FIXME("wait_for_completion %#x stub.\n", wait_for_completion
);
37 HRESULT WINAPI
ShowPlayerPickerUI(HSTRING prompt_display_text
, const HSTRING
*xuids
, size_t xuid_count
,
38 const HSTRING
*preselected_xuids
, size_t preselected_xuid_count
, size_t min_selection_count
,
39 size_t max_selection_count
, PlayerPickerUICompletionRoutine completion_routine
, void *context
)
41 FIXME("prompt_display_text %p, xuids %p, xuid_count %lu, preselected_xuids %p, preselected_xuid_count %lu,"
42 " min_selection_count %lu, max_selection_count %lu, completion_routine %p, context %p semi-stub.\n",
43 prompt_display_text
, xuids
, (SIZE_T
)xuid_count
, preselected_xuids
, (SIZE_T
)preselected_xuid_count
,
44 (SIZE_T
)min_selection_count
, (SIZE_T
)max_selection_count
, completion_routine
, context
);
46 if (completion_routine
)
47 completion_routine(S_OK
, context
, preselected_xuids
, preselected_xuid_count
);
52 HRESULT WINAPI
ShowProfileCardUI(HSTRING target_user_xuid
, GameUICompletionRoutine completion_routine
, void *context
)
54 FIXME("target_user_xuid %p, completion_routine %p, context %p stub.\n",
55 target_user_xuid
, completion_routine
, context
);
57 if (completion_routine
)
58 completion_routine(S_OK
, context
);