_EFN_Analyze function

When you write an Analysis Extension, you must implement and export an _EFN_Analyze function. When the !analyze debugger command runs, it calls your _EFN_Analyze so that you can participate in the analysis of a bug check or exception.

Syntax


HRESULT _EFN_Analyze(
  _In_ PDEBUG_CLIENT4            Client,
  _In_ FA_EXTENSION_PLUGIN_PHASE CallPhase,
  _In_ PDEBUG_FAILURE_ANALYSIS2  pAnalysis
);

Parameters

Client [in]

A pointer to an IDebugClient4 interface.

CallPhase [in]

A value in the FA_EXTENSION_PLUGIN_PHASE enumeration that specifies which phase of the analysis is currently in progress. Analysis phases include initialization, stack analysis, prebucketing, and post bucketing.

pAnalysis [in]

A pointer to a IDebugFailureAnalysis2 interface.

Return value

If the function succeeds, return S_OK.

Requirements

Target platform

Desktop

Header

Extsfns.h (This header file is in the Debugging Tools for Windows package.)

See also

Writing an Analysis Extension Plug-in to Extend !analyze
Writing Custom Analysis Debugger Extension

 

 

Send comments about this topic to Microsoft

Show: