From a7c9970762780b16ee1ecfef4f330b518aef06c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20Lid=C3=A9n=20Borell?= Date: Mon, 8 Jan 2007 16:16:45 +0100 Subject: [PATCH] kernel32: Add SetTermsrvAppInstallMode stub. --- dlls/kernel32/kernel32.spec | 2 +- dlls/kernel32/version.c | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 903557f6aff..fa52d1b4ba4 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -1024,7 +1024,7 @@ @ stdcall SetSystemTimeAdjustment(long long) @ stdcall SetTapeParameters(ptr long ptr) @ stdcall SetTapePosition(ptr long long long long long) -@ stub SetTermsrvAppInstallMode +@ stdcall SetTermsrvAppInstallMode(long) @ stdcall SetThreadAffinityMask(long long) @ stdcall SetThreadContext(long ptr) @ stdcall SetThreadExecutionState(long) diff --git a/dlls/kernel32/version.c b/dlls/kernel32/version.c index 811c426527e..31609830240 100644 --- a/dlls/kernel32/version.c +++ b/dlls/kernel32/version.c @@ -374,3 +374,19 @@ BOOL WINAPI TermsrvAppInstallMode(void) FIXME("stub\n"); return FALSE; } + +/*********************************************************************** + * SetTermsrvAppInstallMode (KERNEL32.@) + * + * This function is said to switch between the INSTALL (TRUE) or + * EXECUTE (FALSE) terminal server modes. + * + * This function always returns zero on WinXP Home so it's probably + * safe to return that value in most cases. However, if a terminal + * server is running it will probably return something else. + */ +DWORD WINAPI SetTermsrvAppInstallMode(BOOL bInstallMode) +{ + FIXME("(%d): stub\n", bInstallMode); + return 0; +} -- 2.11.4.GIT