diff --git a/dlls/advapi32/advapi.c b/dlls/advapi32/advapi.c index 0145b2d843d..cbd4612425d 100644 --- a/dlls/advapi32/advapi.c +++ b/dlls/advapi32/advapi.c @@ -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; +} diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index f17e1f2645e..3b5f587d40e 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -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