ntdll: add stub for NtRaiseHardError

Austin English austinenglish at gmail.com
Tue May 18 12:35:09 CDT 2010


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/ntdll/error.c b/dlls/ntdll/error.c
index 4c7d5a7..e943650 100644
--- a/dlls/ntdll/error.c
+++ b/dlls/ntdll/error.c
@@ -128,6 +128,19 @@ DWORD WINAPI RtlGetLastWin32Error(void)
     return NtCurrentTeb()->LastErrorValue;
 }
 
+/**********************************************************************
+ *      NtRaiseHardError (NTDLL.@)
+ *
+ * Documented at http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/Error/NtRaiseHardError.html
+ */
+
+NTSYSAPI NTSTATUS WINAPI NtRaiseHardError( NTSTATUS ErrorStatus, ULONG NumberOfParameters,
+                                           PUNICODE_STRING UnicodeStringParameterMask, PVOID *Paramaters,
+                                           HARDERROR_RESPONSE_OPTION ResponseOption, PHARDERROR_RESPONSE Response )
+{
+    return E_NOTIMPL;
+}
+
 /***********************************************************************
  *      RtlSetLastWin32Error (NTDLL.@)
  *      RtlRestoreLastWin32Error (NTDLL.@)
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 241f3d8..37e0cca 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -275,7 +275,7 @@
 @ stdcall NtQueryVolumeInformationFile(long ptr ptr long long)
 @ stdcall NtQueueApcThread(long ptr long long long)
 @ stdcall NtRaiseException(ptr ptr long)
-@ stub NtRaiseHardError
+@ stdcall NtRaiseHardError(long long ptr ptr long long)
 @ stdcall NtReadFile(long long ptr ptr ptr ptr long ptr ptr)
 @ stdcall NtReadFileScatter(long long ptr ptr ptr ptr long ptr ptr)
 @ stub NtReadRequestData


More information about the wine-patches mailing list