ntoskrnl.exe: Partially implement KeInitializeDpc() function.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2020-05-28 12:15:14 +03:00 committed by Alexandre Julliard
parent e0c8c4c3cd
commit e49be2db28
2 changed files with 7 additions and 2 deletions

View File

@ -3079,9 +3079,13 @@ MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void)
/***********************************************************************
* KeInitializeDpc (NTOSKRNL.EXE.@)
*/
VOID WINAPI KeInitializeDpc(PRKDPC Dpc, PKDEFERRED_ROUTINE DeferredRoutine, PVOID DeferredContext)
void WINAPI KeInitializeDpc(KDPC *dpc, PKDEFERRED_ROUTINE deferred_routine, void *deferred_context)
{
FIXME("stub\n");
FIXME("dpc %p, deferred_routine %p, deferred_context %p semi-stub.\n",
dpc, deferred_routine, deferred_context);
dpc->DeferredRoutine = deferred_routine;
dpc->DeferredContext = deferred_context;
}
/***********************************************************************

View File

@ -1695,6 +1695,7 @@ void WINAPI KeEnterCriticalRegion(void);
void WINAPI KeGenericCallDpc(PKDEFERRED_ROUTINE,PVOID);
ULONG WINAPI KeGetCurrentProcessorNumber(void);
PKTHREAD WINAPI KeGetCurrentThread(void);
void WINAPI KeInitializeDpc(KDPC*,PKDEFERRED_ROUTINE,void*);
void WINAPI KeInitializeEvent(PRKEVENT,EVENT_TYPE,BOOLEAN);
void WINAPI KeInitializeMutex(PRKMUTEX,ULONG);
void WINAPI KeInitializeSemaphore(PRKSEMAPHORE,LONG,LONG);