msvcp140: Added __crtCreateSemaphoreExW().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-08-07 12:22:17 +03:00 committed by Alexandre Julliard
parent 7e485ea87b
commit fd10b07782
2 changed files with 13 additions and 1 deletions

View File

@ -3758,7 +3758,7 @@
@ stub __crtCompareStringEx @ stub __crtCompareStringEx
@ cdecl __crtCompareStringW(long long wstr long wstr long) msvcrt.__crtCompareStringW @ cdecl __crtCompareStringW(long long wstr long wstr long) msvcrt.__crtCompareStringW
@ cdecl __crtCreateEventExW(ptr wstr long long) MSVCP__crtCreateEventExW @ cdecl __crtCreateEventExW(ptr wstr long long) MSVCP__crtCreateEventExW
@ stub __crtCreateSemaphoreExW @ cdecl __crtCreateSemaphoreExW(ptr long long wstr long long) MSVCP__crtCreateSemaphoreExW
@ stub __crtCreateSymbolicLinkW @ stub __crtCreateSymbolicLinkW
@ stub __crtCreateThreadpoolTimer @ stub __crtCreateThreadpoolTimer
@ stub __crtCreateThreadpoolWait @ stub __crtCreateThreadpoolWait

View File

@ -1140,6 +1140,18 @@ ULONGLONG CDECL MSVCP__crtGetTickCount64(void)
return GetTickCount64(); return GetTickCount64();
} }
/*********************************************************************
* __crtCreateSemaphoreExW (MSVCP140.@)
*/
HANDLE CDECL MSVCP__crtCreateSemaphoreExW(
SECURITY_ATTRIBUTES *attribs, LONG initial_count, LONG max_count, LPCWSTR name,
DWORD flags, DWORD access)
{
TRACE("(%p %d %d %s 0x%08x 0x%08x)\n", attribs, initial_count, max_count, debugstr_w(name),
flags, access);
return CreateSemaphoreExW(attribs, initial_count, max_count, name, flags, access);
}
void init_misc(void *base) void init_misc(void *base)
{ {
#ifdef __x86_64__ #ifdef __x86_64__