  ; ===========================================
  ; dbghelp.inc copyright MASM32 1998 - 2005
  ; ===========================================

IFNDEF DBGHELP_INC
DBGHELP_INC equ <1>

EnumerateLoadedModules64 PROTO :DWORD,:DWORD,:DWORD
EnumerateLoadedModules PROTO :DWORD,:DWORD,:DWORD
ExtensionApiVersion PROTO 
FindDebugInfoFile PROTO :DWORD,:DWORD,:DWORD
FindDebugInfoFileEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FindExecutableImage PROTO :DWORD,:DWORD,:DWORD
FindExecutableImageEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FindFileInSearchPath PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetTimestampForLoadedLibrary PROTO :DWORD
ImageDirectoryEntryToData PROTO :DWORD,:DWORD,:DWORD,:DWORD
ImageDirectoryEntryToDataEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ImageNtHeader PROTO :DWORD
ImageRvaToSection PROTO :DWORD,:DWORD,:DWORD
ImageRvaToVa PROTO :DWORD,:DWORD,:DWORD,:DWORD
ImagehlpApiVersion PROTO 
ImagehlpApiVersionEx PROTO :DWORD
MakeSureDirectoryPathExists PROTO :DWORD
MapDebugInformation PROTO :DWORD,:DWORD,:DWORD,:DWORD
SearchTreeForFile PROTO :DWORD,:DWORD,:DWORD
StackWalk64 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StackWalk PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymCleanup PROTO :DWORD
SymEnumerateModules64 PROTO :DWORD,:DWORD,:DWORD
SymEnumerateModules PROTO :DWORD,:DWORD,:DWORD
SymEnumerateSymbols64 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymEnumerateSymbols PROTO :DWORD,:DWORD,:DWORD,:DWORD
SymEnumerateSymbolsW64 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymEnumerateSymbolsW PROTO :DWORD,:DWORD,:DWORD,:DWORD
SymFunctionTableAccess64 PROTO :DWORD,:DWORD,:DWORD
SymFunctionTableAccess PROTO :DWORD,:DWORD
SymGetLineFromAddr64 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymGetLineFromAddr PROTO :DWORD,:DWORD,:DWORD,:DWORD
SymGetLineFromName64 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymGetLineFromName PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymGetLineNext64 PROTO :DWORD,:DWORD
SymGetLineNext PROTO :DWORD,:DWORD
SymGetLinePrev64 PROTO :DWORD,:DWORD
SymGetLinePrev PROTO :DWORD,:DWORD
SymGetModuleBase64 PROTO :DWORD,:DWORD,:DWORD
SymGetModuleBase PROTO :DWORD,:DWORD
SymGetModuleInfo64 PROTO :DWORD,:DWORD,:DWORD,:DWORD
SymGetModuleInfo PROTO :DWORD,:DWORD,:DWORD
SymGetModuleInfoEx64 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymGetModuleInfoEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymGetModuleInfoW64 PROTO :DWORD,:DWORD,:DWORD,:DWORD
SymGetModuleInfoW PROTO :DWORD,:DWORD,:DWORD
SymGetOptions PROTO 
SymGetSearchPath PROTO :DWORD,:DWORD,:DWORD
SymGetSymFromAddr64 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymGetSymFromAddr PROTO :DWORD,:DWORD,:DWORD,:DWORD
SymGetSymFromName64 PROTO :DWORD,:DWORD,:DWORD
SymGetSymFromName PROTO :DWORD,:DWORD,:DWORD
SymGetSymNext64 PROTO :DWORD,:DWORD
SymGetSymNext PROTO :DWORD,:DWORD
SymGetSymPrev64 PROTO :DWORD,:DWORD
SymGetSymPrev PROTO :DWORD,:DWORD
SymGetSymbolInfo64 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymGetSymbolInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymInitialize PROTO :DWORD,:DWORD,:DWORD
SymLoadModule64 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymLoadModule PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SymMatchFileName PROTO :DWORD,:DWORD,:DWORD,:DWORD
SymRegisterCallback64 PROTO :DWORD,:DWORD,:DWORD,:DWORD
SymRegisterCallback PROTO :DWORD,:DWORD,:DWORD
SymRegisterFunctionEntryCallback64 PROTO :DWORD,:DWORD,:DWORD,:DWORD
SymRegisterFunctionEntryCallback PROTO :DWORD,:DWORD,:DWORD
SymSetOptions PROTO :DWORD
SymSetSearchPath PROTO :DWORD,:DWORD
SymUnDName64 PROTO :DWORD,:DWORD,:DWORD
SymUnDName PROTO :DWORD,:DWORD,:DWORD
SymUnloadModule64 PROTO :DWORD,:DWORD,:DWORD
SymUnloadModule PROTO :DWORD,:DWORD
UnDecorateSymbolName PROTO :DWORD,:DWORD,:DWORD,:DWORD
UnmapDebugInformation PROTO :DWORD
WinDbgExtensionDllInit PROTO :DWORD,:DWORD,:DWORD
sym PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD

ELSE
echo -----------------------------------------
echo WARNING Duplicate include file dbghelp.inc
echo -----------------------------------------
ENDIF
