Commit 3f1b41eb authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

kernel32: Add stubs for several SRW lock functions.

parent f2c33ae1
......@@ -133,6 +133,8 @@
# functions exported by name, ordinal doesn't matter
@ stdcall AcquireSRWLockExclusive(ptr)
@ stdcall AcquireSRWLockShared(ptr)
@ stdcall ActivateActCtx(ptr ptr)
@ stdcall AddAtomA(str)
@ stdcall AddAtomW(wstr)
......@@ -733,6 +735,7 @@
@ stdcall IdnToNameprepUnicode(long wstr long ptr long)
@ stdcall IdnToUnicode(long wstr long ptr long)
@ stdcall InitAtomTable(long)
@ stdcall InitializeSRWLock(ptr)
@ stdcall InitializeCriticalSection(ptr)
@ stdcall InitializeCriticalSectionAndSpinCount(ptr long)
@ stdcall InitializeCriticalSectionEx(ptr long long)
......@@ -995,6 +998,8 @@
@ stdcall ReleaseActCtx(ptr)
@ stdcall ReleaseMutex(long)
@ stdcall ReleaseSemaphore(long long ptr)
@ stdcall ReleaseSRWLockExclusive(ptr)
@ stdcall ReleaseSRWLockShared(ptr)
@ stdcall RemoveDirectoryA(str)
@ stdcall RemoveDirectoryW(wstr)
# @ stub RemoveLocalAlternateComputerNameA
......
......@@ -825,3 +825,43 @@ BOOL WINAPI GetThreadPreferredUILanguages( DWORD flags, PULONG count, PCZZWSTR b
*buffersize = 0;
return TRUE;
}
/***********************************************************************
* InitializeSRWLock (KERNEL32.@)
*/
VOID WINAPI InitializeSRWLock( PSRWLOCK srwlock )
{
FIXME( "(%p): stub\n", srwlock );
}
/***********************************************************************
* AcquireSRWLockExclusive (KERNEL32.@)
*/
VOID WINAPI AcquireSRWLockExclusive( PSRWLOCK srwlock )
{
FIXME( "(%p): stub\n", srwlock );
}
/***********************************************************************
* ReleaseSRWLockExclusive (KERNEL32.@)
*/
VOID WINAPI ReleaseSRWLockExclusive( PSRWLOCK srwlock )
{
FIXME( "(%p): stub\n", srwlock );
}
/***********************************************************************
* AcquireSRWLockShared (KERNEL32.@)
*/
VOID WINAPI AcquireSRWLockShared( PSRWLOCK srwlock )
{
FIXME( "(%p): stub\n", srwlock );
}
/***********************************************************************
* ReleaseSRWLockShared (KERNEL32.@)
*/
VOID WINAPI ReleaseSRWLockShared( PSRWLOCK srwlock )
{
FIXME( "(%p): stub\n", srwlock );
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment