You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
1.4 KiB
88 lines
1.4 KiB
/*++
|
|
|
|
Copyright (c) 1992-2000 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
bugcheck.h
|
|
|
|
Abstract:
|
|
|
|
WinDbg Extension Api
|
|
|
|
Environment:
|
|
|
|
User Mode.
|
|
|
|
Revision History:
|
|
|
|
Kshitix K. Sharma (kksharma)
|
|
|
|
bugcheck analyzer headers.
|
|
|
|
--*/
|
|
|
|
#ifndef _BUGCHECK_H_
|
|
#define _BUGCHECK_H_
|
|
|
|
#include "bugcodes.h"
|
|
#include "extsfns.h"
|
|
|
|
|
|
typedef struct _BUGCHECK_ANALYSIS
|
|
{
|
|
ULONG Code;
|
|
ULONG64 Args[4];
|
|
PCHAR szName;
|
|
PCHAR szDescription;
|
|
PCHAR szParamsDesc[4];
|
|
} BUGCHECK_ANALYSIS, *PBUGCHECK_ANALYSIS;
|
|
|
|
|
|
typedef void (WINAPI *PBUGCHECK_EXAMINE) (
|
|
PBUGCHECK_ANALYSIS pBugCheck
|
|
);
|
|
|
|
typedef struct _BUGDESC_APIREFS {
|
|
ULONG Code;
|
|
PBUGCHECK_EXAMINE pExamineRoutine;
|
|
} BUGDESC_APIREFS, *PBUGDESC_APIREFS;
|
|
|
|
|
|
// why is this not defined in bugcodes.h ??
|
|
#ifndef HEAP_INITIALIZATION_FAILED
|
|
#define HEAP_INITIALIZATION_FAILED 0x5D
|
|
#endif
|
|
|
|
BOOL
|
|
ReadUnicodeString(
|
|
ULONG64 Address,
|
|
PWCHAR Buffer,
|
|
ULONG BufferSize,
|
|
PULONG StringSize);
|
|
|
|
BOOL
|
|
BcGetDriverNameFromIrp(
|
|
DebugFailureAnalysis* Analysis,
|
|
ULONG64 Irp,
|
|
ULONG64 DevObj,
|
|
ULONG64 DrvObj
|
|
);
|
|
|
|
BOOL
|
|
BcIsCpuOverClocked(
|
|
void
|
|
);
|
|
|
|
KernelDebugFailureAnalysis*
|
|
BcAnalyze(
|
|
OUT PBUGCHECK_ANALYSIS Bc,
|
|
ULONG Flags
|
|
);
|
|
|
|
HRESULT
|
|
AnalyzeBugCheck(
|
|
PCSTR args
|
|
);
|
|
|
|
#endif // _BUGCHECK_H
|