diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index c52736fcb56..9d820bffbb0 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -2684,6 +2684,15 @@ NTSTATUS WINAPI PsImpersonateClient(PETHREAD Thread, PACCESS_TOKEN Token, BOOLEA } +/*********************************************************************** + * PsRevertToSelf (NTOSKRNL.EXE.@) + */ +void WINAPI PsRevertToSelf(void) +{ + FIXME("\n"); +} + + /*********************************************************************** * PsSetCreateProcessNotifyRoutine (NTOSKRNL.EXE.@) */ diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index 0fe0da36d8e..19cde8cf8a4 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -925,7 +925,7 @@ @ stub PsReturnProcessNonPagedPoolQuota @ stub PsReturnProcessPagedPoolQuota @ stub PsRevertThreadToSelf -@ stub PsRevertToSelf +@ stdcall PsRevertToSelf() @ stub PsSetContextThread @ stdcall PsSetCreateProcessNotifyRoutine(ptr long) @ stdcall PsSetCreateProcessNotifyRoutineEx(ptr long) diff --git a/include/ddk/ntifs.h b/include/ddk/ntifs.h index a1ed8475027..abe357fbc9c 100644 --- a/include/ddk/ntifs.h +++ b/include/ddk/ntifs.h @@ -131,5 +131,6 @@ typedef struct _FS_FILTER_CALLBACKS BOOLEAN WINAPI FsRtlIsNameInExpression(PUNICODE_STRING, PUNICODE_STRING, BOOLEAN, PWCH); NTSTATUS WINAPI ObQueryNameString(PVOID,POBJECT_NAME_INFORMATION,ULONG,PULONG); +void WINAPI PsRevertToSelf(void); #endif