2OO1, 4 February
NtRaiseHardError
NtRaiseHardError
NTSYSAPI
NTSTATUS
NTAPI
NtRaiseHardError(
IN NTSTATUS ErrorStatus,
IN ULONG NumberOfParameters,
IN PUNICODE_STRING UnicodeStringParameterMask OPTIONAL,
IN PVOID *Parameters,
IN HARDERROR_RESPONSE_OPTION ResponseOption,
OUT PHARDERROR_RESPONSE Response );
This function sends HARDERROR_MSG
LPC message to listener (typically CSRSS.EXE). See
NtSetDefaultHardErrorPort for more information.
- NumberOfParameters Number of optional
parameters in Parameters
array.
- UnicodeStringParameterMask Optional
string parameter (can be only one per error code).
- *Parameters Array of DWORD
parameters for use in error message string.
NtRaiseHardError is easy way to display message in
GUI without loading Win32 API libraries.
- Documented by:
- Tomasz Nowak
Requirements:
- Library: ntdll.lib
See also:
- HARDERROR_MSG
- HARDERROR_RESPONSE
-
HARDERROR_RESPONSE_OPTION
-
NtSetDefaultHardErrorPort