ntoskrnl.exe: Add stub for KeReleaseSemaphore.

This commit is contained in:
Stefan Leichter 2009-12-29 10:13:16 +01:00 committed by Alexandre Julliard
parent e132820330
commit d8a12d8374
3 changed files with 13 additions and 1 deletions

View File

@ -1089,6 +1089,17 @@ void WINAPI KeQueryTickCount( LARGE_INTEGER *count )
}
/***********************************************************************
* KeReleaseSemaphore (NTOSKRNL.EXE.@)
*/
LONG WINAPI KeReleaseSemaphore( PRKSEMAPHORE Semaphore, KPRIORITY Increment,
LONG Adjustment, BOOLEAN Wait )
{
FIXME("(%p %d %d %d) stub\n", Semaphore, Increment, Adjustment, Wait );
return 0;
}
/***********************************************************************
* KeQueryTimeIncrement (NTOSKRNL.EXE.@)
*/

View File

@ -588,7 +588,7 @@
@ stub KeReleaseInterruptSpinLock
@ stub KeReleaseMutant
@ stub KeReleaseMutex
@ stub KeReleaseSemaphore
@ stdcall KeReleaseSemaphore(ptr long long long)
@ stub KeReleaseSpinLockFromDpcLevel
@ stub KeRemoveByKeyDeviceQueue
@ stub KeRemoveByKeyDeviceQueueIfBusy

View File

@ -1064,6 +1064,7 @@ PKTHREAD WINAPI KeGetCurrentThread(void);
void WINAPI KeQuerySystemTime(LARGE_INTEGER*);
void WINAPI KeQueryTickCount(LARGE_INTEGER*);
ULONG WINAPI KeQueryTimeIncrement(void);
LONG WINAPI KeReleaseSemaphore(PRKSEMAPHORE,KPRIORITY,LONG,BOOLEAN);
PVOID WINAPI MmAllocateContiguousMemory(SIZE_T,PHYSICAL_ADDRESS);
PVOID WINAPI MmAllocateNonCachedMemory(SIZE_T);