ntoskrnl: Add KeSetImportanceDpc stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48358
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2019-12-26 02:18:54 -07:00 committed by Alexandre Julliard
parent 523fb9496c
commit f307e94c0e
3 changed files with 16 additions and 1 deletions

View File

@ -3031,6 +3031,14 @@ VOID WINAPI KeInitializeDpc(PRKDPC Dpc, PKDEFERRED_ROUTINE DeferredRoutine, PVOI
FIXME("stub\n");
}
/***********************************************************************
* KeSetImportanceDpc (NTOSKRNL.EXE.@)
*/
VOID WINAPI KeSetImportanceDpc(PRKDPC dpc, KDPC_IMPORTANCE importance)
{
FIXME("%p, %d stub\n", dpc, importance);
}
/***********************************************************************
* KeSetTargetProcessorDpc (NTOSKRNL.EXE.@)
*/

View File

@ -626,7 +626,7 @@
@ stdcall KeSetEvent(ptr long long)
@ stub KeSetEventBoostPriority
@ stub KeSetIdealProcessorThread
@ stub KeSetImportanceDpc
@ stdcall KeSetImportanceDpc(ptr long)
@ stub KeSetKernelStackSwapEnable
@ stdcall KeSetPriorityThread(ptr long)
@ stub KeSetProfileIrql

View File

@ -91,6 +91,13 @@ typedef struct _KDPC {
PULONG_PTR Lock;
} KDPC, *PKDPC, *RESTRICTED_POINTER PRKDPC;
typedef enum _KDPC_IMPORTANCE {
LowImportance,
MediumImportance,
HighImportance,
MediumHighImportance
} KDPC_IMPORTANCE;
typedef struct _KDEVICE_QUEUE_ENTRY {
LIST_ENTRY DeviceListEntry;
ULONG SortKey;