wtsapi32: Implement WTSFreeMemoryEx[AW].

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47612
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2019-08-13 01:17:47 -06:00 committed by Alexandre Julliard
parent e3e088c124
commit cc3969da3c
2 changed files with 23 additions and 0 deletions

View File

@ -212,6 +212,27 @@ void WINAPI WTSFreeMemory(PVOID pMemory)
heap_free(pMemory);
}
/************************************************************
* WTSFreeMemoryExA (WTSAPI32.@)
*/
BOOL WINAPI WTSFreeMemoryExA(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb)
{
TRACE("%d %p %d\n", type, ptr, nmemb);
heap_free(ptr);
return TRUE;
}
/************************************************************
* WTSFreeMemoryExW (WTSAPI32.@)
*/
BOOL WINAPI WTSFreeMemoryExW(WTS_TYPE_CLASS type, void *ptr, ULONG nmemb)
{
TRACE("%d %p %d\n", type, ptr, nmemb);
heap_free(ptr);
return TRUE;
}
/************************************************************
* WTSLogoffSession (WTSAPI32.@)
*/

View File

@ -14,6 +14,8 @@
@ stdcall WTSEnumerateSessionsExW(ptr ptr long ptr ptr)
@ stdcall WTSEnumerateSessionsW(long long long ptr ptr)
@ stdcall WTSFreeMemory(ptr)
@ stdcall WTSFreeMemoryExA(long ptr long)
@ stdcall WTSFreeMemoryExW(long ptr long)
@ stdcall WTSLogoffSession(long long long)
@ stdcall WTSOpenServerA(str)
@ stdcall WTSOpenServerExA(str)