diff options
Diffstat (limited to 'src/pal/src/include/pal/handleapi.hpp')
-rw-r--r-- | src/pal/src/include/pal/handleapi.hpp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/pal/src/include/pal/handleapi.hpp b/src/pal/src/include/pal/handleapi.hpp new file mode 100644 index 0000000000..7974432a65 --- /dev/null +++ b/src/pal/src/include/pal/handleapi.hpp @@ -0,0 +1,48 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/*++ + + + +Module Name: + + handleapi.hpp + +Abstract: + + Declaration of the handle management APIs + + + +--*/ + +#ifndef _HANDLEAPI_HPP +#define _HANDLEAPI_HPP + +#include "corunix.hpp" + +namespace CorUnix +{ + PAL_ERROR + InternalDuplicateHandle( + CPalThread *pThread, + HANDLE hSourceProcess, + HANDLE hSource, + HANDLE hTargetProcess, + LPHANDLE phDuplicate, + DWORD dwDesiredAccess, + BOOL bInheritHandle, + DWORD dwOptions + ); + + PAL_ERROR + InternalCloseHandle( + CPalThread *pThread, + HANDLE hObject + ); +} + +#endif // _HANDLEAPI_HPP + |