/* Miranda Crash Dumper Plugin Copyright (C) 2008 - 2012 Boris Krasnovskiy All Rights Reserved This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ #pragma once #include "dbghelp.h" typedef struct _IMAGEHLP_MODULE64_V2 { uint32_t SizeOfStruct; // set to sizeof(IMAGEHLP_MODULE64) DWORD64 BaseOfImage; // base load address of module uint32_t ImageSize; // virtual size of the loaded module uint32_t TimeDateStamp; // date/time stamp from pe header uint32_t CheckSum; // checksum from the pe header uint32_t NumSyms; // number of symbols in the symbol table SYM_TYPE SymType; // type of symbols loaded CHAR ModuleName[32]; // module name CHAR ImageName[256]; // image name CHAR LoadedImageName[256]; // symbol file name } IMAGEHLP_MODULE64_V2; typedef struct _IMAGEHLP_MODULEW64_V2 { uint32_t SizeOfStruct; // set to sizeof(IMAGEHLP_MODULE64) DWORD64 BaseOfImage; // base load address of module uint32_t ImageSize; // virtual size of the loaded module uint32_t TimeDateStamp; // date/time stamp from pe header uint32_t CheckSum; // checksum from the pe header uint32_t NumSyms; // number of symbols in the symbol table SYM_TYPE SymType; // type of symbols loaded wchar_t ModuleName[32]; // module name wchar_t ImageName[256]; // image name wchar_t LoadedImageName[256]; // symbol file name } IMAGEHLP_MODULEW64_V2; #ifdef DBGHELP_TRANSLATE_TCHAR #define IMAGEHLP_MODULE64_V2 IMAGEHLP_MODULEW64_V2 #endif