ReactOS  0.4.14-dev-337-gf981a68
imagehlp.h
Go to the documentation of this file.
1 /*
2  imagehlp.h - Include file for IMAGEHLP.DLL APIs
3 
4  Written by Mumit Khan <khan@nanotech.wisc.edu>
5 
6  This file is part of a free library for the Win32 API.
7 
8  NOTE: This strictly does not belong in the Win32 API since it's
9  really part of Platform SDK. However,GDB needs it and we might
10  as well provide it here.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 
16 */
17 
18 #ifndef _IMAGEHLP_H
19 #define _IMAGEHLP_H
20 
21 #ifdef _WIN64
22 #ifndef _IMAGEHLP64
23 #define _IMAGEHLP64
24 #endif
25 #endif
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 #include <wintrust.h>
32 
33 #define API_VERSION_NUMBER 7
34 #define BIND_NO_BOUND_IMPORTS 0x00000001
35 #define BIND_NO_UPDATE 0x00000002
36 #define BIND_ALL_IMAGES 0x00000004
37 #define BIND_CACHE_IMPORT_DLLS 0x00000008
38 #define CBA_DEFERRED_SYMBOL_LOAD_START 1
39 #define CBA_DEFERRED_SYMBOL_LOAD_COMPLETE 2
40 #define CBA_DEFERRED_SYMBOL_LOAD_FAILURE 3
41 #define CBA_SYMBOLS_UNLOADED 4
42 #define CBA_DUPLICATE_SYMBOL 5
43 #define CERT_PE_IMAGE_DIGEST_DEBUG_INFO 1
44 #define CERT_PE_IMAGE_DIGEST_RESOURCES 2
45 #define CERT_PE_IMAGE_DIGEST_ALL_IMPORT_INFO 4
46 #define CERT_PE_IMAGE_DIGEST_NON_PE_INFO 8
47 #define CERT_SECTION_TYPE_ANY 255
48 #define CHECKSUM_SUCCESS 0
49 #define CHECKSUM_OPEN_FAILURE 1
50 #define CHECKSUM_MAP_FAILURE 2
51 #define CHECKSUM_MAPVIEW_FAILURE 3
52 #define CHECKSUM_UNICODE_FAILURE 4
53 #define IMAGE_SEPARATION 65536
54 #define SPLITSYM_REMOVE_PRIVATE 1
55 #define SPLITSYM_EXTRACT_ALL 2
56 #define SPLITSYM_SYMBOLPATH_IS_SRC 4
57 #define SYMF_OMAP_GENERATED 1
58 #define SYMF_OMAP_MODIFIED 2
59 #define SYMOPT_CASE_INSENSITIVE 1
60 #define SYMOPT_UNDNAME 2
61 #define SYMOPT_DEFERRED_LOADS 4
62 #define SYMOPT_NO_CPP 8
63 #define SYMOPT_LOAD_LINES 16
64 #define SYMOPT_OMAP_FIND_NEAREST 32
65 #define UNDNAME_COMPLETE 0
66 #define UNDNAME_NO_LEADING_UNDERSCORES 1
67 #define UNDNAME_NO_MS_KEYWORDS 2
68 #define UNDNAME_NO_FUNCTION_RETURNS 4
69 #define UNDNAME_NO_ALLOCATION_MODEL 8
70 #define UNDNAME_NO_ALLOCATION_LANGUAGE 16
71 #define UNDNAME_NO_MS_THISTYPE 32
72 #define UNDNAME_NO_CV_THISTYPE 64
73 #define UNDNAME_NO_THISTYPE 96
74 #define UNDNAME_NO_ACCESS_SPECIFIERS 128
75 #define UNDNAME_NO_THROW_SIGNATURES 256
76 #define UNDNAME_NO_MEMBER_TYPE 512
77 #define UNDNAME_NO_RETURN_UDT_MODEL 1024
78 #define UNDNAME_32_BIT_DECODE 2048
79 #define UNDNAME_NAME_ONLY 4096
80 #define UNDNAME_NO_ARGUMENTS 8192
81 #define UNDNAME_NO_SPECIAL_SYMS 16384
82 
83 #ifdef _IMAGEHLP_SOURCE_
84  #define IMAGEAPI __stdcall
85  #define DBHLP_DEPRECIATED
86 #else
87  #define IMAGEAPI DECLSPEC_IMPORT __stdcall
88  #if (_MSC_VER >= 1300) && !defined(MIDL_PASS)
89  #define DBHLP_DEPRECIATED __declspec(deprecated)
90  #else
91  #define DBHLP_DEPRECIATED
92  #endif
93 #endif
94 
95 #define DBHLPAPI IMAGEAPI
96 
97 #ifndef RC_INVOKED
98 
116 typedef struct _LOADED_IMAGE {
118  HANDLE hFile;
120 #ifdef _IMAGEHLP64
122 #else
124 #endif
132  UCHAR Version;
136 typedef struct _IMAGE_DEBUG_INFORMATION {
166  DWORD Reserved[3];
168 typedef enum {
173 } ADDRESS_MODE;
174 typedef struct _tagADDRESS {
175  DWORD Offset;
176  WORD Segment;
178 } ADDRESS,*LPADDRESS;
179 typedef struct _KDHELP {
180  DWORD Thread;
187 } KDHELP,*PKDHELP;
188 typedef struct _tagSTACKFRAME {
204 typedef struct API_VERSION {
214 typedef enum {
222 } SYM_TYPE;
223 #ifdef _NO_CVCONST_H
224 enum SymTagEnum
225 {
226  SymTagNull,
227  SymTagExe,
232  SymTagBlock,
233  SymTagData,
235  SymTagLabel,
237  SymTagUDT,
238  SymTagEnum,
245  SymTagFriend,
251  SymTagVTable,
252  SymTagCustom,
253  SymTagThunk,
257  SymTagCallSite,
258  SymTagInlineSite,
259  SymTagBaseInterface,
260  SymTagVectorType,
261  SymTagMatrixType,
262  SymTagHLSLType,
263  SymTagCaller,
264  SymTagCallee,
265  SymTagExport,
266  SymTagHeapAllocationSite,
267  SymTagCoffGroup,
268  SymTagMax
269 };
270 #endif // _NO_CVCONST_H
271 typedef struct _IMAGEHLP_SYMBOL {
273  DWORD Address;
274  DWORD Size;
275  DWORD Flags;
277  CHAR Name[1];
279 typedef struct _IMAGEHLP_MODULE {
284  DWORD CheckSum;
285  DWORD NumSyms;
287  CHAR ModuleName[32];
288  CHAR ImageName[256];
289  CHAR LoadedImageName[256];
291 typedef struct _IMAGEHLP_LINE {
295  PCHAR FileName;
296  DWORD Address;
298 typedef struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD {
301  DWORD CheckSum;
305  HANDLE hFile;
307 typedef struct _IMAGEHLP_DUPLICATE_SYMBOL {
315 
328 
347 BOOL
348 IMAGEAPI
386 BOOL IMAGEAPI CopyPdb(CHAR const*,CHAR const*,BOOL);
388 
389 #endif /* RC_INVOKED */
390 
391 #ifdef UNICODE
392 #define MapFileAndCheckSum MapFileAndCheckSumW
393 #else
394 #define MapFileAndCheckSum MapFileAndCheckSumA
395 #endif
396 
397 #ifdef __cplusplus
398 }
399 #endif
400 
401 #endif /* _IMAGEHLP_H */
402 
BOOL IMAGEAPI StackWalk(DWORD, HANDLE, HANDLE, LPSTACKFRAME, LPVOID, PREAD_PROCESS_MEMORY_ROUTINE, PFUNCTION_TABLE_ACCESS_ROUTINE, PGET_MODULE_BASE_ROUTINE, PTRANSLATE_ADDRESS_ROUTINE)
Definition: stack.c:139
BOOL IMAGEAPI ImageEnumerateCertificates(IN HANDLE, IN WORD, OUT PDWORD, IN OUT PDWORD OPTIONAL, IN OUT DWORD OPTIONAL)
signed char * PCHAR
Definition: retypes.h:7
BOOL(WINAPI * PREAD_PROCESS_MEMORY_ROUTINE)(HANDLE, LPCVOID, LPVOID, DWORD, LPDWORD)
Definition: imagehlp.h:200
struct _IMAGEHLP_LINE IMAGEHLP_LINE
PVOID IMAGEAPI ImageDirectoryEntryToData32(PVOID Base, BOOLEAN MappedAsImage, USHORT DirectoryEntry, PULONG Size, PIMAGE_SECTION_HEADER *FoundHeader OPTIONAL, PIMAGE_FILE_HEADER FileHeader, PIMAGE_OPTIONAL_HEADER OptionalHeader)
BOOL IMAGEAPI SymGetSearchPath(IN HANDLE, OUT LPSTR, IN DWORD)
const uint16_t * PCWSTR
Definition: typedefs.h:55
BOOL IMAGEAPI SymEnumerateSymbols(IN HANDLE, IN DWORD, IN PSYM_ENUMSYMBOLS_CALLBACK, IN PVOID)
DWORD MaxNameLength
Definition: compat.h:1128
#define IN
Definition: typedefs.h:38
SYM_TYPE
Definition: compat.h:711
ADDRESS_MODE Mode
Definition: compat.h:846
BOOL IMAGEAPI SymGetLineFromName(IN HANDLE, IN LPSTR, IN LPSTR, IN DWORD, OUT PLONG, IN OUT PIMAGEHLP_LINE)
BOOLEAN fDOSImage
Definition: dbghelp.h:112
LPVOID IMAGEAPI SymFunctionTableAccess(HANDLE, DWORD)
Definition: module.c:1161
BOOL IMAGEAPI SymGetSymPrev(IN HANDLE, IN OUT PIMAGEHLP_SYMBOL)
PLOADED_IMAGE IMAGEAPI ImageLoad(PCSTR, PCSTR)
Definition: access.c:70
BOOL IMAGEAPI ReBaseImage(IN PCSTR, IN PCSTR, IN BOOL, IN BOOL, IN BOOL, IN ULONG, OUT ULONG *, OUT ULONG_PTR *, OUT ULONG *, IN OUT ULONG_PTR *, IN ULONG)
HANDLE hFile
Definition: dbghelp.h:100
DWORD SizeOfStruct
Definition: compat.h:1168
BOOL IMAGEAPI SymGetLineNext(IN HANDLE, IN OUT PIMAGEHLP_LINE)
DWORD IMAGEAPI MapFileAndCheckSumW(PCWSTR, LPDWORD, LPDWORD)
USHORT MajorVersion
Definition: compat.h:1220
PIMAGE_SECTION_HEADER Sections
Definition: dbghelp.h:109
PIMAGE_COFF_SYMBOLS_HEADER CoffSymbols
Definition: dbghelp.h:2286
BOOL IMAGEAPI UpdateDebugInfoFile(PCSTR, PCSTR, PSTR, PIMAGE_NT_HEADERS32)
Definition: modify.c:425
struct _LOADED_IMAGE LOADED_IMAGE
BOOL IMAGEAPI SetImageConfigInformation(PLOADED_IMAGE, PIMAGE_LOAD_CONFIG_DIRECTORY)
Definition: access.c:214
unsigned char * PUCHAR
Definition: retypes.h:3
struct _IMAGEHLP_MODULE * PIMAGEHLP_MODULE
char CHAR
Definition: xmlstorage.h:175
enum _IMAGEHLP_STATUS_REASON IMAGEHLP_STATUS_REASON
BOOL IMAGEAPI EnumerateLoadedModules(IN HANDLE, IN PENUMLOADED_MODULES_CALLBACK, IN PVOID)
BOOL(CALLBACK * PSYMBOL_REGISTERED_CALLBACK)(HANDLE, ULONG, PVOID, PVOID)
Definition: imagehlp.h:213
USHORT MinorVersion
Definition: compat.h:1221
BOOL IMAGEAPI SymGetSymFromAddr(IN HANDLE, IN DWORD, OUT PDWORD, OUT PIMAGEHLP_SYMBOL)
BOOL IMAGEAPI SymMatchFileName(IN LPSTR, IN LPSTR, OUT LPSTR *, OUT LPSTR *)
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2343
#define CALLBACK
Definition: compat.h:27
PIMAGE_DEBUG_DIRECTORY DebugDirectory
Definition: imagehlp.h:164
DWORD IMAGEAPI MapFileAndCheckSumA(PCSTR, LPDWORD, LPDWORD)
LPVOID FuncTableEntry
Definition: imagehlp.h:193
struct _IMAGE_DEBUG_INFORMATION * PIMAGE_DEBUG_INFORMATION
struct _IMAGEHLP_SYMBOL IMAGEHLP_SYMBOL
DWORD IMAGEAPI GetImageUnusedHeaderBytes(PLOADED_IMAGE, LPDWORD)
Definition: access.c:56
DWORD LineNumber
Definition: compat.h:1170
DWORD KeUserCallbackDispatcher
Definition: dbghelp.h:2143
char * LPSTR
Definition: xmlstorage.h:182
DWORD NumberOfFunctionTableEntries
Definition: imagehlp.h:149
#define BOOL
Definition: nt_native.h:43
PIMAGE_FUNCTION_ENTRY FunctionTableEntries
Definition: imagehlp.h:150
#define DWORD
Definition: nt_native.h:44
DWORD HighestFunctionEndingAddress
Definition: imagehlp.h:152
ULONG NumberOfSections
Definition: dbghelp.h:108
BOOL IMAGEAPI ImageAddCertificate(IN HANDLE, IN LPWIN_CERTIFICATE, OUT PDWORD)
_IMAGEHLP_STATUS_REASON
Definition: imagehlp.h:99
uint32_t ULONG_PTR
Definition: typedefs.h:63
DWORD IMAGEAPI SymSetOptions(IN DWORD)
LPAPI_VERSION IMAGEAPI ImagehlpApiVersionEx(LPAPI_VERSION)
Definition: dbghelp.c:665
BOOL IMAGEAPI BindImage(IN PCSTR, IN PCSTR, IN PCSTR)
SYM_TYPE
Definition: imagehlp.h:214
BOOL IMAGEAPI SymGetModuleInfo(IN HANDLE, IN DWORD, OUT PIMAGEHLP_MODULE)
PVOID IMAGEAPI ImageDirectoryEntryToData(IN PVOID, IN BOOLEAN, IN USHORT, OUT PULONG)
USHORT Revision
Definition: compat.h:1222
LPVOID(WINAPI * PFUNCTION_TABLE_ACCESS_ROUTINE)(HANDLE, DWORD)
Definition: imagehlp.h:201
SymTagEnum
Definition: compat.h:1228
PVOID IMAGEAPI ImageDirectoryEntryToDataEx(IN PVOID Base, IN BOOLEAN MappedAsImage, IN USHORT DirectoryEntry, OUT PULONG Size, OUT PIMAGE_SECTION_HEADER *FoundSection OPTIONAL)
ADDRESS_MODE
Definition: compat.h:803
unsigned int BOOL
Definition: ntddk_ex.h:94
UCHAR Version
Definition: dbghelp.h:114
DWORD ImageSize
Definition: compat.h:853
BOOL IMAGEAPI SplitSymbols(PSTR, PCSTR, PSTR, DWORD)
BOOL IMAGEAPI SymEnumerateModules(IN HANDLE, IN PSYM_ENUMMODULES_CALLBACK, IN PVOID)
PIMAGE_DEBUG_INFORMATION IMAGEAPI MapDebugInformation(HANDLE, PCSTR, PCSTR, DWORD)
_In_ BOOLEAN MappedAsImage
Definition: rtlfuncs.h:3734
PIMAGEHLP_SYMBOL Symbol
Definition: dbghelp.h:517
unsigned char BOOLEAN
BOOL IMAGEAPI UpdateDebugInfoFileEx(PCSTR, PCSTR, PSTR, PIMAGE_NT_HEADERS32, DWORD)
Definition: modify.c:440
ADDRESS AddrFrame
Definition: imagehlp.h:191
struct _tagADDRESS * LPADDRESS
DWORD NextCallback
Definition: dbghelp.h:2140
struct _IMAGEHLP_LINE * PIMAGEHLP_LINE
struct _IMAGEHLP_DUPLICATE_SYMBOL * PIMAGEHLP_DUPLICATE_SYMBOL
CHAR ModuleName[32]
Definition: compat.h:858
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
BOOL IMAGEAPI RemovePrivateCvSymbolicEx(PCHAR, ULONG, PCHAR *, ULONG *)
BOOL(CALLBACK * PENUMLOADED_MODULES_CALLBACK)(LPSTR, ULONG, ULONG, PVOID)
Definition: imagehlp.h:212
DWORD Address
Definition: compat.h:1172
DWORD LowestFunctionStartingAddress
Definition: imagehlp.h:151
const char * LPCSTR
Definition: xmlstorage.h:183
void * PVOID
Definition: retypes.h:9
BOOL IMAGEAPI ImageGetCertificateHeader(IN HANDLE, IN DWORD, IN OUT LPWIN_CERTIFICATE)
Definition: winnt_old.h:3394
BOOL IMAGEAPI SymGetSymFromName(IN HANDLE, IN LPSTR, OUT PIMAGEHLP_SYMBOL)
BOOL(WINAPI * DIGEST_FUNCTION)(DIGEST_HANDLE refdata, PBYTE pData, DWORD dwLength)
Definition: imagehlp.h:314
struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD IMAGEHLP_DEFERRED_SYMBOL_LOAD
BOOL IMAGEAPI SymRegisterCallback(IN HANDLE, IN PSYMBOL_REGISTERED_CALLBACK, IN PVOID)
BOOL IMAGEAPI SymGetLineFromAddr(IN HANDLE, IN DWORD, OUT PDWORD, OUT PIMAGEHLP_LINE)
BOOL(WINAPI * PIMAGEHLP_STATUS_ROUTINE)(IMAGEHLP_STATUS_REASON, PCSTR, PCSTR, ULONG_PTR, ULONG_PTR)
Definition: imagehlp.h:115
PUCHAR MappedAddress
Definition: dbghelp.h:101
BOOL IMAGEAPI SymGetLinePrev(IN HANDLE, IN OUT PIMAGEHLP_LINE)
LPAPI_VERSION IMAGEAPI ImagehlpApiVersion(VOID)
Definition: dbghelp.c:657
DWORD(WINAPI * PTRANSLATE_ADDRESS_ROUTINE)(HANDLE, HANDLE, LPADDRESS)
Definition: imagehlp.h:203
BOOLEAN fReadOnly
Definition: dbghelp.h:113
static DWORD DWORD * dwLength
Definition: fusion.c:85
PIMAGE_SECTION_HEADER LastRvaSection
Definition: dbghelp.h:107
ADDRESS AddrPC
Definition: imagehlp.h:189
struct _tagSTACKFRAME STACKFRAME
DWORD SizeOfStruct
Definition: compat.h:1124
#define MAX_PATH
Definition: compat.h:26
DWORD(WINAPI * PGET_MODULE_BASE_ROUTINE)(HANDLE, DWORD)
Definition: imagehlp.h:202
#define WINAPI
Definition: msvc.h:8
DWORD BaseOfImage
Definition: compat.h:852
DWORD SystemRangeStart
Definition: dbghelp.h:2144
unsigned short WORD
Definition: ntddk_ex.h:93
BOOL IMAGEAPI MakeSureDirectoryPathExists(LPCSTR)
Definition: path.c:143
PVOID HANDLE
Definition: typedefs.h:71
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD ThCallbackStack
Definition: dbghelp.h:2139
#define IMAGEAPI
Definition: imagehlp.h:87
struct _LOADED_IMAGE * PLOADED_IMAGE
#define LPVOID
Definition: nt_native.h:45
BOOL IMAGEAPI RemovePrivateCvSymbolic(PCHAR, PCHAR *, ULONG *)
Definition: modify.c:388
DWORD Offset
Definition: compat.h:844
struct _IMAGEHLP_SYMBOL * PIMAGEHLP_SYMBOL
DWORD IMAGEAPI SymLoadModule(IN HANDLE, IN HANDLE, IN PSTR, IN PSTR, IN DWORD, IN DWORD)
BOOL IMAGEAPI BindImageEx(IN DWORD, IN LPCSTR, IN LPCSTR, IN LPCSTR, IN PIMAGEHLP_STATUS_ROUTINE)
PIMAGE_NT_HEADERS IMAGEAPI ImageNtHeader(IN PVOID)
unsigned char UCHAR
Definition: xmlstorage.h:181
BOOL IMAGEAPI UnMapAndLoad(PLOADED_IMAGE)
Definition: access.c:228
#define LPDWORD
Definition: nt_native.h:46
VOID IMAGEAPI RemoveRelocations(PCHAR)
Definition: modify.c:401
DWORD IMAGEAPI GetTimestampForLoadedLibrary(HMODULE)
Definition: image.c:35
PIMAGE_NT_HEADERS IMAGEAPI CheckSumMappedFile(LPVOID, DWORD, LPDWORD, LPDWORD)
Definition: modify.c:187
BOOL IMAGEAPI SymInitialize(IN HANDLE, IN LPSTR, IN BOOL)
BOOL IMAGEAPI CopyPdb(CHAR const *, CHAR const *, BOOL)
Definition: typedefs.h:117
BOOL IMAGEAPI TouchFileTimes(HANDLE, LPSYSTEMTIME)
Definition: imagehlp_main.c:38
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
DWORD IMAGEAPI SymGetOptions(VOID)
Definition: dbghelp.c:458
HANDLE IMAGEAPI FindExecutableImage(PCSTR, PCSTR, PSTR)
Definition: path.c:135
ULONG Characteristics
Definition: dbghelp.h:110
DWORD CheckSum
Definition: compat.h:855
BOOL(CALLBACK * PSYM_ENUMMODULES_CALLBACK)(LPSTR, ULONG, PVOID)
Definition: imagehlp.h:210
BOOL IMAGEAPI SymGetSymNext(IN HANDLE, IN OUT PIMAGEHLP_SYMBOL)
struct _KDHELP * PKDHELP
PIMAGE_SECTION_HEADER Sections
Definition: imagehlp.h:146
WORD Segment
Definition: compat.h:845
struct _tagADDRESS ADDRESS
USHORT Reserved
Definition: compat.h:1223
DWORD IMAGEAPI SymGetModuleBase(IN HANDLE, IN DWORD)
BOOL IMAGEAPI SymUnDName(IN PIMAGEHLP_SYMBOL, OUT LPSTR, IN DWORD)
unsigned short USHORT
Definition: pedump.c:61
struct API_VERSION API_VERSION
BOOL IMAGEAPI ImageGetCertificateData(IN HANDLE, IN DWORD, OUT LPWIN_CERTIFICATE, IN OUT PDWORD)
signed char * PSTR
Definition: retypes.h:7
PIMAGE_SECTION_HEADER IMAGEAPI ImageRvaToSection(IN PIMAGE_NT_HEADERS, IN PVOID, IN ULONG)
PSTR ModuleName
Definition: dbghelp.h:99
DWORD NumSyms
Definition: compat.h:856
BOOL IMAGEAPI GetImageConfigInformation(PLOADED_IMAGE, PIMAGE_LOAD_CONFIG_DIRECTORY)
Definition: access.c:42
unsigned int * PULONG
Definition: retypes.h:1
ADDRESS AddrReturn
Definition: imagehlp.h:190
struct _IMAGEHLP_DUPLICATE_SYMBOL IMAGEHLP_DUPLICATE_SYMBOL
DWORD * PDWORD
Definition: pedump.c:68
PVOID DIGEST_HANDLE
Definition: imagehlp.h:313
struct _KDHELP KDHELP
PIMAGE_NT_HEADERS32 FileHeader
Definition: dbghelp.h:105
DWORD Params[4]
Definition: imagehlp.h:194
CONST void * LPCVOID
Definition: windef.h:191
BOOL IMAGEAPI SymSetSearchPath(IN HANDLE, IN LPSTR)
ADDRESS_MODE
Definition: imagehlp.h:168
#define OUT
Definition: typedefs.h:39
uint32_t * LPDWORD
Definition: typedefs.h:57
struct _IMAGE_DEBUG_INFORMATION IMAGE_DEBUG_INFORMATION
struct _tagSTACKFRAME * LPSTACKFRAME
unsigned int ULONG
Definition: retypes.h:1
#define ULONG_PTR
Definition: config.h:101
struct _IMAGEHLP_MODULE IMAGEHLP_MODULE
BOOL(CALLBACK * PSYM_ENUMSYMBOLS_CALLBACK)(LPSTR, ULONG, ULONG, PVOID)
Definition: imagehlp.h:211
DWORD Thread
Definition: dbghelp.h:2138
BOOL IMAGEAPI SearchTreeForFile(PCSTR, PCSTR, PSTR)
Definition: path.c:273
const char * PCSTR
Definition: typedefs.h:51
DWORD FramePointer
Definition: dbghelp.h:2141
BOOL IMAGEAPI ImageRemoveCertificate(IN HANDLE, IN DWORD)
PCHAR FileName
Definition: compat.h:1171
LIST_ENTRY Links
Definition: dbghelp.h:115
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1827
DWORD IMAGEAPI WINAPI UnDecorateSymbolName(LPCSTR, LPSTR, DWORD, DWORD)
ULONG SizeOfImage
Definition: dbghelp.h:116
BOOL IMAGEAPI ImageUnload(PLOADED_IMAGE)
Definition: access.c:96
SYM_TYPE SymType
Definition: compat.h:857
DWORD SizeOfStruct
Definition: compat.h:851
BOOL IMAGEAPI UnmapDebugInformation(PIMAGE_DEBUG_INFORMATION)
Definition: image.c:55
struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD * PIMAGEHLP_DEFERRED_SYMBOL_LOAD
BOOL IMAGEAPI SymUnloadModule(IN HANDLE, IN DWORD)
signed int * PLONG
Definition: retypes.h:5
HANDLE IMAGEAPI FindDebugInfoFile(PCSTR, PCSTR, PSTR)
Definition: path.c:67
CHAR ImageName[256]
Definition: compat.h:859
BYTE * PBYTE
Definition: pedump.c:66
PVOID IMAGEAPI ImageRvaToVa(IN PIMAGE_NT_HEADERS, IN PVOID, IN ULONG, IN OUT PIMAGE_SECTION_HEADER *)
BOOL IMAGEAPI ImageGetDigestStream(IN HANDLE, IN DWORD, IN DIGEST_FUNCTION, IN DIGEST_HANDLE)
BOOL IMAGEAPI SymCleanup(IN HANDLE)
PFPO_DATA FpoTableEntries
Definition: imagehlp.h:154
KDHELP KdHelp
Definition: imagehlp.h:198
DWORD TimeDateStamp
Definition: compat.h:854
struct API_VERSION * LPAPI_VERSION
BOOL IMAGEAPI MapAndLoad(PCSTR, PCSTR, PLOADED_IMAGE, BOOL, BOOL)
Definition: access.c:131
BOOLEAN fSystemImage
Definition: dbghelp.h:111
CHAR LoadedImageName[256]
Definition: compat.h:860
ADDRESS AddrStack
Definition: imagehlp.h:192
DWORD KiCallUserMode
Definition: dbghelp.h:2142
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68