Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47612 Signed-off-by: Alex Henrie alexhenrie24@gmail.com --- dlls/wtsapi32/wtsapi32.c | 21 +++++++++++++++++++++ dlls/wtsapi32/wtsapi32.spec | 6 ++++-- 2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/dlls/wtsapi32/wtsapi32.c b/dlls/wtsapi32/wtsapi32.c index e64079c5c2..9384379474 100644 --- a/dlls/wtsapi32/wtsapi32.c +++ b/dlls/wtsapi32/wtsapi32.c @@ -222,6 +222,27 @@ BOOL WINAPI WTSLogoffSession(HANDLE hserver, DWORD session_id, BOOL bwait) return FALSE; }
+ +/************************************************************ + * WTSOpenServerExW (WTSAPI32.@) + */ +HANDLE WINAPI WTSOpenServerExW(WCHAR *server_name) +{ + FIXME("(%s) stub\n", debugstr_w(server_name)); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return NULL; +} + +/************************************************************ + * WTSOpenServerExA (WTSAPI32.@) + */ +HANDLE WINAPI WTSOpenServerExA(char *server_name) +{ + FIXME("(%s) stub\n", debugstr_a(server_name)); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return NULL; +} + /************************************************************ * WTSOpenServerA (WTSAPI32.@) */ diff --git a/dlls/wtsapi32/wtsapi32.spec b/dlls/wtsapi32/wtsapi32.spec index 85109800bb..7f76b444a5 100644 --- a/dlls/wtsapi32/wtsapi32.spec +++ b/dlls/wtsapi32/wtsapi32.spec @@ -15,8 +15,10 @@ @ stdcall WTSEnumerateSessionsW(long long long ptr ptr) @ stdcall WTSFreeMemory(ptr) @ stdcall WTSLogoffSession(long long long) -@ stdcall WTSOpenServerA(ptr) -@ stdcall WTSOpenServerW(ptr) +@ stdcall WTSOpenServerA(str) +@ stdcall WTSOpenServerExA(str) +@ stdcall WTSOpenServerExW(wstr) +@ stdcall WTSOpenServerW(wstr) @ stdcall WTSQuerySessionInformationA(long long long ptr ptr) @ stdcall WTSQuerySessionInformationW(long long long ptr ptr) @ stdcall WTSQueryUserConfigA(ptr ptr long ptr ptr)