Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8a7dc454
Commit
8a7dc454
authored
May 05, 2021
by
Paul Gofman
Committed by
Alexandre Julliard
May 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gamingtcui: Add stub for ShowProfileCardUI().
Based on a patch by Myah Caron. Signed-off-by:
Paul Gofman
<
pgofman@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6eaf494f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
api-ms-win-gaming-tcui-l1-1-0.spec
...win-gaming-tcui-l1-1-0/api-ms-win-gaming-tcui-l1-1-0.spec
+1
-1
gamingtcui.spec
dlls/gamingtcui/gamingtcui.spec
+1
-1
gamingtcui_main.c
dlls/gamingtcui/gamingtcui_main.c
+11
-0
gamingtcui.h
include/gamingtcui.h
+2
-0
No files found.
dlls/api-ms-win-gaming-tcui-l1-1-0/api-ms-win-gaming-tcui-l1-1-0.spec
View file @
8a7dc454
...
...
@@ -2,6 +2,6 @@
@ stub ShowChangeFriendRelationshipUI
@ stub ShowGameInviteUI
@ stdcall ShowPlayerPickerUI(ptr ptr long ptr long long long ptr ptr) gamingtcui.ShowPlayerPickerUI
@ st
ub
ShowProfileCardUI
@ st
dcall ShowProfileCardUI(ptr ptr ptr) gamingtcui.
ShowProfileCardUI
@ stub ShowTitleAchievementsUI
@ stub TryCancelPendingGameUI
dlls/gamingtcui/gamingtcui.spec
View file @
8a7dc454
...
...
@@ -17,7 +17,7 @@
@ stub ShowGameInviteUIWithContextForUser
@ stdcall ShowPlayerPickerUI(ptr ptr long ptr long long long ptr ptr)
@ stub ShowPlayerPickerUIForUser
@ st
ub ShowProfileCardUI
@ st
dcall ShowProfileCardUI(ptr ptr ptr)
@ stub ShowProfileCardUIForUser
@ stub ShowTitleAchievementsUI
@ stub ShowTitleAchievementsUIForUser
...
...
dlls/gamingtcui/gamingtcui_main.c
View file @
8a7dc454
...
...
@@ -48,3 +48,14 @@ HRESULT WINAPI ShowPlayerPickerUI(HSTRING prompt_display_text, const HSTRING *xu
return
S_OK
;
}
HRESULT
WINAPI
ShowProfileCardUI
(
HSTRING
target_user_xuid
,
GameUICompletionRoutine
completion_routine
,
void
*
context
)
{
FIXME
(
"target_user_xuid %p, completion_routine %p, context %p stub.
\n
"
,
target_user_xuid
,
completion_routine
,
context
);
if
(
completion_routine
)
completion_routine
(
S_OK
,
context
);
return
S_OK
;
}
include/gamingtcui.h
View file @
8a7dc454
...
...
@@ -28,6 +28,7 @@ extern "C"
{
#endif
typedef
void
(
WINAPI
*
GameUICompletionRoutine
)(
HRESULT
return_code
,
void
*
context
);
typedef
void
(
WINAPI
*
PlayerPickerUICompletionRoutine
)(
HRESULT
return_code
,
void
*
context
,
const
HSTRING
*
selected_xuids
,
size_t
count
);
...
...
@@ -35,6 +36,7 @@ HRESULT WINAPI ProcessPendingGameUI(BOOL wait_for_completion);
HRESULT
WINAPI
ShowPlayerPickerUI
(
HSTRING
prompt_display_text
,
const
HSTRING
*
xuids
,
size_t
xuid_count
,
const
HSTRING
*
preselected_xuids
,
size_t
preselected_xuid_count
,
size_t
min_selection_count
,
size_t
max_selection_count
,
PlayerPickerUICompletionRoutine
completion_routine
,
void
*
context
);
HRESULT
WINAPI
ShowProfileCardUI
(
HSTRING
target_user_xuid
,
GameUICompletionRoutine
completion_routine
,
void
*
context
);
#ifdef __cplusplus
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment