[Wine-devel] [5/8] ntoskrnl.exe: Add stub for KeGetCurrentThread

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пт Авг 1 14:00:06 MSD 2008


----------- следующая часть -----------
From 1b7c4f5d3e637b7d9bcd2794f50f57889a32e172 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 1 Aug 2008 12:06:01 +0400
Subject: [PATCH] ntoskrnl.exe: Add stub for KeGetCurrentThread

---
 dlls/ntoskrnl.exe/ntoskrnl.c        |   10 ++++++++++
 dlls/ntoskrnl.exe/ntoskrnl.exe.spec |    2 +-
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 659a00c..286e66d 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -840,6 +840,16 @@ NTSTATUS WINAPI KeDelayExecutionThread ( KPROCESSOR_MODE WaitMode,
 
 
 /***********************************************************************
+ *           KeGetCurrentThread   (NTOSKRNL.EXE.@)
+ */
+PKTHREAD WINAPI KeGetCurrentThread(void)
+{
+    FIXME( "\n" );
+    return NULL;
+}
+
+
+/***********************************************************************
  *           KeInitializeEvent   (NTOSKRNL.EXE.@)
  */
 void WINAPI KeInitializeEvent( PRKEVENT Event, EVENT_TYPE Type,
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index 2ba947b..50a229e 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -529,7 +529,7 @@
 @ stub KeFindConfigurationNextEntry
 @ stub KeFlushEntireTb
 @ stub KeFlushQueuedDpcs
-@ stub KeGetCurrentThread
+@ stdcall KeGetCurrentThread()
 @ stub KeGetPreviousMode
 @ stub KeGetRecommendedSharedDataAlignment
 @ stub KeI386AbiosCall
-- 
1.5.4.5.GIT



Подробная информация о списке рассылки Wine-devel