gamingtcui: Add stub for ProcessPendingGameUI().

Based on a patch by Myah Caron.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2021-05-03 19:24:43 +03:00 committed by Alexandre Julliard
parent 8c0ced87bc
commit fb983276f7
6 changed files with 78 additions and 2 deletions

View File

@ -1,4 +1,4 @@
@ stub ProcessPendingGameUI
@ stdcall ProcessPendingGameUI(long) gamingtcui.ProcessPendingGameUI
@ stub ShowChangeFriendRelationshipUI
@ stub ShowGameInviteUI
@ stub ShowPlayerPickerUI

View File

@ -1 +1,6 @@
MODULE = gamingtcui.dll
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
gamingtcui_main.c

View File

@ -2,7 +2,7 @@
@ stub CheckGamingPrivilegeSilentlyForUser
@ stub CheckGamingPrivilegeWithUI
@ stub CheckGamingPrivilegeWithUIForUser
@ stub ProcessPendingGameUI
@ stdcall ProcessPendingGameUI(long)
@ stub ShowChangeFriendRelationshipUI
@ stub ShowChangeFriendRelationshipUIForUser
@ stub ShowCustomizeUserProfileUI

View File

@ -0,0 +1,35 @@
/*
* Copyright 2021 Paul Gofman for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "gamingtcui.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(gamingtcui);
HRESULT WINAPI ProcessPendingGameUI(BOOL wait_for_completion)
{
FIXME("wait_for_completion %#x stub.\n", wait_for_completion);
return S_OK;
}

View File

@ -301,6 +301,7 @@ SOURCES = \
fontsub.h \
fusion.idl \
gameux.idl \
gamingtcui.h \
gdiplus.h \
gdipluscolor.h \
gdipluscolormatrix.h \

35
include/gamingtcui.h Normal file
View File

@ -0,0 +1,35 @@
/*
* Copyright 2021 Paul Gofman for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#ifndef __WINE_GAMINGTCUI_H
#define __WINE_GAMINGTCUI_H
#include <windows.h>
#ifdef __cplusplus
extern "C"
{
#endif
HRESULT WINAPI ProcessPendingGameUI(BOOL wait_for_completion);
#ifdef __cplusplus
}
#endif
#endif