ntoskrnl.exe: Add stub for KeGetCurrentThread/PsGetCurrentThread.

This commit is contained in:
Stefan Leichter 2009-12-30 11:02:01 +01:00 committed by Alexandre Julliard
parent f06cb3e6c0
commit dd5abc2dcf
3 changed files with 12 additions and 3 deletions

View File

@ -960,6 +960,15 @@ NTSTATUS WINAPI FsRtlRegisterUncProvider(PHANDLE MupHandle, PUNICODE_STRING Redi
return STATUS_NOT_IMPLEMENTED;
}
/***********************************************************************
* KeGetCurrentThread / PsGetCurrentThread (NTOSKRNL.EXE.@)
*/
PRKTHREAD WINAPI KeGetCurrentThread(void)
{
FIXME("() stub\n");
return NULL;
}
/***********************************************************************
* KeInitializeEvent (NTOSKRNL.EXE.@)
*/

View File

@ -529,7 +529,7 @@
@ stub KeFindConfigurationNextEntry
@ stub KeFlushEntireTb
@ stub KeFlushQueuedDpcs
@ stub KeGetCurrentThread
@ stdcall KeGetCurrentThread()
@ stub KeGetPreviousMode
@ stub KeGetRecommendedSharedDataAlignment
@ stub KeI386AbiosCall
@ -852,7 +852,7 @@
@ stub PsGetCurrentProcess
@ stdcall PsGetCurrentProcessId()
@ stub PsGetCurrentProcessSessionId
@ stub PsGetCurrentThread
@ stdcall PsGetCurrentThread() KeGetCurrentThread
@ stdcall PsGetCurrentThreadId()
@ stub PsGetCurrentThreadPreviousMode
@ stub PsGetCurrentThreadStackBase

View File

@ -134,7 +134,7 @@ typedef struct _IO_TIMER *PIO_TIMER;
typedef struct _IO_TIMER_ROUTINE *PIO_TIMER_ROUTINE;
typedef struct _ETHREAD *PETHREAD;
typedef struct _FREE_FUNCTION *PFREE_FUNCTION;
typedef struct _KTHREAD *PKTHREAD;
typedef struct _KTHREAD *PKTHREAD, *PRKTHREAD;
typedef struct _EPROCESS *PEPROCESS;
typedef struct _ERESOURCE *PERESOURCE;
typedef struct _IO_WORKITEM *PIO_WORKITEM;