diff options
author | Stephen Toub <stoub@microsoft.com> | 2015-05-11 18:59:19 -0400 |
---|---|---|
committer | Stephen Toub <stoub@microsoft.com> | 2015-05-11 18:59:19 -0400 |
commit | cdafa7f693b31052a6f564f75d5be8bcd52cf5e7 (patch) | |
tree | dd83a9a2aa857191c9dc154284ec47ebca296dd6 /src/pal | |
parent | b383e3ca6cf3089e4b45edd501b1695c8e84d607 (diff) | |
download | coreclr-cdafa7f693b31052a6f564f75d5be8bcd52cf5e7.tar.gz coreclr-cdafa7f693b31052a6f564f75d5be8bcd52cf5e7.tar.bz2 coreclr-cdafa7f693b31052a6f564f75d5be8bcd52cf5e7.zip |
Export OpenSemaphoreW from PAL
Semaphore.OpenExisting uses OpenSemaphoreW from the PAL, but it's not being exported, resulting in EntryPointNotFoundExceptions.
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/inc/pal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h index 2e763cbff0..b1fb2df52a 100644 --- a/src/pal/inc/pal.h +++ b/src/pal/inc/pal.h @@ -1547,6 +1547,14 @@ CreateSemaphoreExW( IN /*_Reserved_*/ DWORD dwFlags, IN DWORD dwDesiredAccess); +PALIMPORT +HANDLE +PALAPI +OpenSemaphoreW( + IN DWORD dwDesiredAccess, + IN BOOL bInheritHandle, + IN LPCWSTR lpName); + #ifdef UNICODE #define CreateSemaphore CreateSemaphoreW #define CreateSemaphoreEx CreateSemaphoreExW |