Undocumented functions of NTDLL

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.


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