fixed the NtRaiseHardError() prototype
Modified: trunk/reactos/include/ntos/zw.h
Modified: trunk/reactos/ntoskrnl/ke/error.c
_____
Modified: trunk/reactos/include/ntos/zw.h
--- trunk/reactos/include/ntos/zw.h 2005-02-14 21:07:25 UTC (rev
13577)
+++ trunk/reactos/include/ntos/zw.h 2005-02-14 21:41:49 UTC (rev
13578)
@@ -5457,11 +5457,11 @@
* FUNCTION: Raises a hard error (stops the system)
* ARGUMENTS:
* Status = Status code of the hard error
- * Unknown2 = ??
- * Unknown3 = ??
- * Unknown4 = ??
- * Unknown5 = ??
- * Unknown6 = ??
+ * NumberOfParameters = Number of (optional) parameters in
Parameters
+ * UnicodeStringParameterMask = (optional) string parameter, one
per error code
+ * Parameters = An Array of pointers for use in the error message
string
+ * ResponseOption = Specifies the type of the message box
+ * Response = Specifies the user's response
* RETURNS: Status
*
*/
@@ -5469,12 +5469,12 @@
NTSTATUS
STDCALL
NtRaiseHardError(
- IN NTSTATUS Status,
- ULONG Unknown2,
- ULONG Unknown3,
- ULONG Unknown4,
- ULONG Unknown5,
- ULONG Unknown6
+ IN NTSTATUS ErrorStatus,
+ IN ULONG NumberOfParameters,
+ IN PUNICODE_STRING UnicodeStringParameterMask OPTIONAL,
+ IN PVOID *Parameters,
+ IN HARDERROR_RESPONSE_OPTION ResponseOption,
+ OUT PHARDERROR_RESPONSE Response
);
/*
@@ -6186,23 +6186,24 @@
* FUNCTION: Raises a hard error (stops the system)
* ARGUMENTS:
* Status = Status code of the hard error
- * Unknown2 = ??
- * Unknown3 = ??
- * Unknown4 = ??
- * Unknown5 = ??
- * Unknown6 = ??
+ * NumberOfParameters = Number of (optional) parameters in
Parameters
+ * UnicodeStringParameterMask = (optional) string parameter, one
per error code
+ * Parameters = An Array of pointers for use in the error message
string
+ * ResponseOption = Specifies the type of the message box
+ * Response = Specifies the user's response
* RETURNS: Status
*
*/
+
NTSTATUS
STDCALL
ZwRaiseHardError(
- IN NTSTATUS Status,
- ULONG Unknown2,
- ULONG Unknown3,
- ULONG Unknown4,
- ULONG Unknown5,
- ULONG Unknown6
+ IN NTSTATUS ErrorStatus,
+ IN ULONG NumberOfParameters,
+ IN PUNICODE_STRING UnicodeStringParameterMask OPTIONAL,
+ IN PVOID *Parameters,
+ IN HARDERROR_RESPONSE_OPTION ResponseOption,
+ OUT PHARDERROR_RESPONSE Response
);
/*
_____
Modified: trunk/reactos/ntoskrnl/ke/error.c
--- trunk/reactos/ntoskrnl/ke/error.c 2005-02-14 21:07:25 UTC (rev
13577)
+++ trunk/reactos/ntoskrnl/ke/error.c 2005-02-14 21:41:49 UTC (rev
13578)
@@ -44,14 +44,14 @@
}
NTSTATUS STDCALL
-NtRaiseHardError(IN NTSTATUS Status,
- ULONG Unknown2,
- ULONG Unknown3,
- ULONG Unknown4,
- ULONG Unknown5,
- ULONG Unknown6)
+NtRaiseHardError(IN NTSTATUS ErrorStatus,
+ IN ULONG NumberOfParameters,
+ IN PUNICODE_STRING UnicodeStringParameterMask
OPTIONAL,
+ IN PVOID *Parameters,
+ IN HARDERROR_RESPONSE_OPTION ResponseOption,
+ OUT PHARDERROR_RESPONSE Response)
{
- DPRINT1("Hard error %x\n", Status);
+ DPRINT1("Hard error %x\n", ErrorStatus);
return(STATUS_SUCCESS);
}
Show replies by date