advapi32: Add GetThreadWaitChain stub.

Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2022-03-13 00:27:59 +01:00 committed by Alexandre Julliard
parent 2a723e3efa
commit d867196553
2 changed files with 10 additions and 1 deletions

View File

@ -304,3 +304,12 @@ HWCT WINAPI OpenThreadWaitChainSession(DWORD flags, PWAITCHAINCALLBACK callback)
SetLastError(ERROR_NOT_SUPPORTED);
return NULL;
}
BOOL WINAPI GetThreadWaitChain(HWCT handle, DWORD_PTR ctx, DWORD flags, DWORD thread_id, DWORD *node_count,
WAITCHAIN_NODE_INFO *node_info_arr, BOOL *is_cycle)
{
FIXME( "handle %p, ctx %Ix, flags %ld, thread_id %ld, node_count %p, node_info_arr %p, is_cycle %p stub!\n",
handle, ctx, flags, thread_id, node_count, node_info_arr, is_cycle );
SetLastError(ERROR_NOT_SUPPORTED);
return FALSE;
}

View File

@ -370,7 +370,7 @@
@ stdcall -import GetSidSubAuthorityCount(ptr)
@ stub GetSiteSidFromToken
# @ stub GetStringConditionFromBinary
# @ stub GetThreadWaitChain
@ stdcall GetThreadWaitChain(ptr ptr long long ptr ptr ptr)
@ stdcall -import GetTokenInformation(long long ptr long ptr)
@ stdcall GetTraceEnableFlags(int64) ntdll.EtwGetTraceEnableFlags
@ stdcall GetTraceEnableLevel(int64) ntdll.EtwGetTraceEnableLevel