Commit cc3969da authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

wtsapi32: Implement WTSFreeMemoryEx[AW].

parent e3e088c1
......@@ -213,6 +213,27 @@ void WINAPI WTSFreeMemory(PVOID 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.@)
*/
BOOL WINAPI WTSLogoffSession(HANDLE hserver, DWORD session_id, BOOL bwait)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment