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
20 #ifndef __WINE_GAMINGTCUI_H
21 #define __WINE_GAMINGTCUI_H
31 typedef void (WINAPI
*GameUICompletionRoutine
)(HRESULT return_code
, void *context
);
32 typedef void (WINAPI
*PlayerPickerUICompletionRoutine
)(HRESULT return_code
, void *context
,
33 const HSTRING
*selected_xuids
, size_t count
);
35 HRESULT WINAPI
ProcessPendingGameUI(BOOL wait_for_completion
);
36 HRESULT WINAPI
ShowPlayerPickerUI(HSTRING prompt_display_text
, const HSTRING
*xuids
, size_t xuid_count
,
37 const HSTRING
*preselected_xuids
, size_t preselected_xuid_count
, size_t min_selection_count
,
38 size_t max_selection_count
, PlayerPickerUICompletionRoutine completion_routine
, void *context
);
39 HRESULT WINAPI
ShowProfileCardUI(HSTRING target_user_xuid
, GameUICompletionRoutine completion_routine
, void *context
);