IDebugFailureAnalysis::GetFailureClass method (extsfns.h)

The GetFailureClass method gets the failure class of a DebugFailureAnalysis object. The failure class indicates whether the debugging session that created the DebugFailureAnalysis object is a kernel mode session or a user mode session.

Syntax

ULONG GetFailureClass();

Return value

Return code/value Description
DEBUG_CLASS_UNINITIALIZED
0
The debug class has not been initialized.
DEBUG_CLASS_KERNEL
1
The debugging session is a kernel-mode session.
DEBUG_CLASS_USER_WINDOWS
2
The debugging session is a user-mode session.
 

These return values are defined in dbgeng.h.

Requirements

Requirement Value
Target Platform Desktop
Header extsfns.h

See also

GetFailureCode

GetFailureType

IDebugFailureAnalysis2

Writing an Analysis Extension Plug-in to Extend !analyze

_EFN_Analyze