aboutsummaryrefslogtreecommitdiff
path: root/src/libs/dutil/WixToolset.DUtil/inc/thrdutil.h
blob: 47e159a15f9b18de8cf0cb52b801a09baecdb788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.


#ifdef __cplusplus
extern "C" {
#endif

/********************************************************************
 ThrdWaitForCompletion - waits for thread to complete and gets return code.

 *******************************************************************/
HRESULT DAPI ThrdWaitForCompletion(
    __in HANDLE hThread,
    __in DWORD dwTimeout,
    __out_opt DWORD* pdwReturnCode
    );

#ifdef __cplusplus
}
#endif