ntoskrnl.exe: Add stub KeInsertQueue.

This commit is contained in:
Alistair Leslie-Hughes 2014-03-19 09:54:29 +11:00 committed by Alexandre Julliard
parent ba13893030
commit d8c6a11971
4 changed files with 42 additions and 1 deletions

View File

@ -34,6 +34,7 @@
#include "excpt.h"
#include "winioctl.h"
#include "ddk/ntddk.h"
#include "ddk/ntifs.h"
#include "wine/unicode.h"
#include "wine/server.h"
#include "wine/list.h"
@ -1287,6 +1288,14 @@ void WINAPI KeInitializeTimer( PKTIMER Timer )
KeInitializeTimerEx(Timer, NotificationTimer);
}
/***********************************************************************
* KeInsertQueue (NTOSKRNL.EXE.@)
*/
LONG WINAPI KeInsertQueue(PRKQUEUE Queue, PLIST_ENTRY Entry)
{
FIXME( "stub: %p %p\n", Queue, Entry );
return 0;
}
/**********************************************************************
* KeQueryActiveProcessors (NTOSKRNL.EXE.@)

View File

@ -558,7 +558,7 @@
@ stub KeInsertByKeyDeviceQueue
@ stub KeInsertDeviceQueue
@ stub KeInsertHeadQueue
@ stub KeInsertQueue
@ stdcall KeInsertQueue(ptr ptr)
@ stub KeInsertQueueApc
@ stub KeInsertQueueDpc
@ stub KeIsAttachedProcess

View File

@ -244,6 +244,7 @@ SRCDIR_INCLUDES = \
ddk/ntddk.h \
ddk/ntddser.h \
ddk/ntddtape.h \
ddk/ntifs.h \
ddk/usb.h \
ddk/usb100.h \
ddk/usb200.h \

31
include/ddk/ntifs.h Normal file
View File

@ -0,0 +1,31 @@
/*
* Copyright (C) 2014 Alistair Leslie-Hughes
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __NTIFS_H__
#define __NTIFS_H__
typedef struct _KQUEUE
{
DISPATCHER_HEADER Header;
LIST_ENTRY EntryListHead;
volatile ULONG CurrentCount;
ULONG MaximumCount;
LIST_ENTRY ThreadListHead;
} KQUEUE, *PKQUEUE, *RESTRICTED_POINTER PRKQUEUE;
#endif