summaryrefslogtreecommitdiff
path: root/src/pal
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2015-05-11 18:59:19 -0400
committerStephen Toub <stoub@microsoft.com>2015-05-11 18:59:19 -0400
commitcdafa7f693b31052a6f564f75d5be8bcd52cf5e7 (patch)
treedd83a9a2aa857191c9dc154284ec47ebca296dd6 /src/pal
parentb383e3ca6cf3089e4b45edd501b1695c8e84d607 (diff)
downloadcoreclr-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.h8
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