HARDERROR_RESPONSE_OPTION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

// Hard errors

typedef enum _HARDERROR_RESPONSE_OPTION
{
    OptionAbortRetryIgnore,
    OptionOk,
    OptionOkCancel,
    OptionRetryCancel,
    OptionYesNo,
    OptionYesNoCancel,
    OptionShutdownSystem,
    OptionOkNoWait,
    OptionCancelTryContinue
} HARDERROR_RESPONSE_OPTION;

#endif
#endif

View code on GitHub

This enumerated type is used for specify type of MessageBox with error description in a call to NtRaiseHardError.

OptionAbortRetryIgnore

Visible buttons: ABORT, RETRY, IGNORE

OptionOk

Visible buttons: OK

OptionOkCancel

Visible buttons: OK, CANCEL

OptionRetryCancel

Visible buttons: RETRY, CANCEL

OptionYesNo

Visible buttons: YES, NO

OptionYesNoCancel

Visible buttons: YES, NO, CANCEL

OptionShutdownSystem

???

Documented by

See also