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
83#ifdef _IMAGEHLP_SOURCE_
84 #define IMAGEAPI __stdcall
85 #define DBHLP_DEPRECIATED
87 #define IMAGEAPI DECLSPEC_IMPORT __stdcall
88 #if (_MSC_VER >= 1300) && !defined(MIDL_PASS)
89 #define DBHLP_DEPRECIATED __declspec(deprecated)
91 #define DBHLP_DEPRECIATED
95#define DBHLPAPI IMAGEAPI
266 SymTagHeapAllocationSite,
327BOOL 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);
392#define MapFileAndCheckSum MapFileAndCheckSumW
394#define MapFileAndCheckSum MapFileAndCheckSumA
LPAPI_VERSION WINAPI ImagehlpApiVersion(void)
DWORD WINAPI SymGetOptions(void)
static DWORD DWORD * dwLength
BOOL IMAGEAPI GetImageConfigInformation(PLOADED_IMAGE, PIMAGE_LOAD_CONFIG_DIRECTORY)
struct _IMAGEHLP_MODULE * PIMAGEHLP_MODULE
BOOL IMAGEAPI StackWalk(DWORD, HANDLE, HANDLE, LPSTACKFRAME, LPVOID, PREAD_PROCESS_MEMORY_ROUTINE, PFUNCTION_TABLE_ACCESS_ROUTINE, PGET_MODULE_BASE_ROUTINE, PTRANSLATE_ADDRESS_ROUTINE)
BOOL(WINAPI * PREAD_PROCESS_MEMORY_ROUTINE)(HANDLE, LPCVOID, LPVOID, DWORD, LPDWORD)
struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD IMAGEHLP_DEFERRED_SYMBOL_LOAD
BOOL IMAGEAPI SymGetModuleInfo(IN HANDLE, IN DWORD, OUT PIMAGEHLP_MODULE)
DWORD IMAGEAPI MapFileAndCheckSumA(PCSTR, LPDWORD, LPDWORD)
BOOL(WINAPI * DIGEST_FUNCTION)(DIGEST_HANDLE refdata, PBYTE pData, DWORD dwLength)
BOOL IMAGEAPI SymInitialize(IN HANDLE, IN LPSTR, IN BOOL)
BOOL IMAGEAPI SymCleanup(IN HANDLE)
PIMAGE_NT_HEADERS IMAGEAPI CheckSumMappedFile(LPVOID, DWORD, LPDWORD, LPDWORD)
PIMAGE_DEBUG_INFORMATION IMAGEAPI MapDebugInformation(HANDLE, PCSTR, PCSTR, DWORD)
DWORD IMAGEAPI WINAPI UnDecorateSymbolName(LPCSTR, LPSTR, DWORD, DWORD)
BOOL IMAGEAPI SymGetSearchPath(IN HANDLE, OUT LPSTR, IN DWORD)
struct _tagADDRESS ADDRESS
struct _IMAGE_DEBUG_INFORMATION * PIMAGE_DEBUG_INFORMATION
enum _IMAGEHLP_STATUS_REASON IMAGEHLP_STATUS_REASON
struct _LOADED_IMAGE * PLOADED_IMAGE
PLOADED_IMAGE IMAGEAPI ImageLoad(PCSTR, PCSTR)
DWORD IMAGEAPI SymGetModuleBase(IN HANDLE, IN DWORD)
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 SetImageConfigInformation(PLOADED_IMAGE, PIMAGE_LOAD_CONFIG_DIRECTORY)
BOOL(CALLBACK * PENUMLOADED_MODULES_CALLBACK)(LPSTR, ULONG, ULONG, PVOID)
DWORD(WINAPI * PTRANSLATE_ADDRESS_ROUTINE)(HANDLE, HANDLE, LPADDRESS)
BOOL(CALLBACK * PSYMBOL_REGISTERED_CALLBACK)(HANDLE, ULONG, PVOID, PVOID)
struct _IMAGEHLP_DUPLICATE_SYMBOL * PIMAGEHLP_DUPLICATE_SYMBOL
PIMAGE_SECTION_HEADER IMAGEAPI ImageRvaToSection(IN PIMAGE_NT_HEADERS, IN PVOID, IN ULONG)
BOOL IMAGEAPI ImageRemoveCertificate(IN HANDLE, IN DWORD)
BOOL(CALLBACK * PSYM_ENUMMODULES_CALLBACK)(LPSTR, ULONG, PVOID)
DWORD(WINAPI * PGET_MODULE_BASE_ROUTINE)(HANDLE, DWORD)
BOOL IMAGEAPI SymSetSearchPath(IN HANDLE, IN LPSTR)
LPVOID(WINAPI * PFUNCTION_TABLE_ACCESS_ROUTINE)(HANDLE, DWORD)
PIMAGE_NT_HEADERS IMAGEAPI ImageNtHeader(IN PVOID)
BOOL IMAGEAPI ImageAddCertificate(IN HANDLE, IN LPWIN_CERTIFICATE, OUT PDWORD)
DWORD IMAGEAPI SymSetOptions(IN DWORD)
HANDLE IMAGEAPI FindDebugInfoFile(PCSTR, PCSTR, PSTR)
BOOL IMAGEAPI SymGetSymNext(IN HANDLE, IN OUT PIMAGEHLP_SYMBOL)
BOOL IMAGEAPI SymGetSymFromName(IN HANDLE, IN LPSTR, OUT PIMAGEHLP_SYMBOL)
BOOL IMAGEAPI TouchFileTimes(HANDLE, LPSYSTEMTIME)
BOOL IMAGEAPI UnMapAndLoad(PLOADED_IMAGE)
BOOL IMAGEAPI SymUnloadModule(IN HANDLE, IN DWORD)
struct _IMAGEHLP_DUPLICATE_SYMBOL IMAGEHLP_DUPLICATE_SYMBOL
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)
struct _IMAGEHLP_SYMBOL * PIMAGEHLP_SYMBOL
BOOL IMAGEAPI UpdateDebugInfoFile(PCSTR, PCSTR, PSTR, PIMAGE_NT_HEADERS32)
BOOL IMAGEAPI ImageGetCertificateData(IN HANDLE, IN DWORD, OUT LPWIN_CERTIFICATE, IN OUT PDWORD)
BOOL(CALLBACK * PSYM_ENUMSYMBOLS_CALLBACK)(LPSTR, ULONG, ULONG, PVOID)
struct _tagSTACKFRAME STACKFRAME
PVOID IMAGEAPI ImageRvaToVa(IN PIMAGE_NT_HEADERS, IN PVOID, IN ULONG, IN OUT PIMAGE_SECTION_HEADER *)
PVOID IMAGEAPI ImageDirectoryEntryToDataEx(IN PVOID Base, IN BOOLEAN MappedAsImage, IN USHORT DirectoryEntry, OUT PULONG Size, OUT PIMAGE_SECTION_HEADER *FoundSection OPTIONAL)
BOOL IMAGEAPI SymGetLinePrev(IN HANDLE, IN OUT PIMAGEHLP_LINE)
BOOL IMAGEAPI SplitSymbols(PSTR, PCSTR, PSTR, DWORD)
BOOL IMAGEAPI SymGetSymPrev(IN HANDLE, IN OUT PIMAGEHLP_SYMBOL)
BOOL IMAGEAPI SymGetLineFromAddr(IN HANDLE, IN DWORD, OUT PDWORD, OUT PIMAGEHLP_LINE)
BOOL IMAGEAPI SymGetSymFromAddr(IN HANDLE, IN DWORD, OUT PDWORD, OUT PIMAGEHLP_SYMBOL)
HANDLE IMAGEAPI FindExecutableImage(PCSTR, PCSTR, PSTR)
BOOL IMAGEAPI SymEnumerateModules(IN HANDLE, IN PSYM_ENUMMODULES_CALLBACK, IN PVOID)
DWORD IMAGEAPI GetTimestampForLoadedLibrary(HMODULE)
BOOL IMAGEAPI SymGetLineFromName(IN HANDLE, IN LPSTR, IN LPSTR, IN DWORD, OUT PLONG, IN OUT PIMAGEHLP_LINE)
BOOL IMAGEAPI SymMatchFileName(IN LPSTR, IN LPSTR, OUT LPSTR *, OUT LPSTR *)
LPVOID IMAGEAPI SymFunctionTableAccess(HANDLE, DWORD)
@ BindImportProcedureFailed
BOOL IMAGEAPI ImageGetCertificateHeader(IN HANDLE, IN DWORD, IN OUT LPWIN_CERTIFICATE)
struct _LOADED_IMAGE LOADED_IMAGE
BOOL(WINAPI * PIMAGEHLP_STATUS_ROUTINE)(IMAGEHLP_STATUS_REASON, PCSTR, PCSTR, ULONG_PTR, ULONG_PTR)
BOOL IMAGEAPI ImageUnload(PLOADED_IMAGE)
BOOL IMAGEAPI EnumerateLoadedModules(IN HANDLE, IN PENUMLOADED_MODULES_CALLBACK, IN PVOID)
BOOL IMAGEAPI MapAndLoad(PCSTR, PCSTR, PLOADED_IMAGE, BOOL, BOOL)
BOOL IMAGEAPI ImageGetDigestStream(IN HANDLE, IN DWORD, IN DIGEST_FUNCTION, IN DIGEST_HANDLE)
BOOL IMAGEAPI SymUnDName(IN PIMAGEHLP_SYMBOL, OUT LPSTR, IN DWORD)
struct _IMAGEHLP_MODULE IMAGEHLP_MODULE
struct _tagADDRESS * LPADDRESS
PVOID IMAGEAPI ImageDirectoryEntryToData(IN PVOID, IN BOOLEAN, IN USHORT, OUT PULONG)
struct _tagSTACKFRAME * LPSTACKFRAME
VOID IMAGEAPI RemoveRelocations(PCHAR)
struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD * PIMAGEHLP_DEFERRED_SYMBOL_LOAD
DWORD IMAGEAPI GetImageUnusedHeaderBytes(PLOADED_IMAGE, LPDWORD)
struct _IMAGEHLP_SYMBOL IMAGEHLP_SYMBOL
BOOL IMAGEAPI SearchTreeForFile(PCSTR, PCSTR, PSTR)
BOOL IMAGEAPI MakeSureDirectoryPathExists(LPCSTR)
struct API_VERSION * LPAPI_VERSION
BOOL IMAGEAPI UpdateDebugInfoFileEx(PCSTR, PCSTR, PSTR, PIMAGE_NT_HEADERS32, DWORD)
BOOL IMAGEAPI RemovePrivateCvSymbolicEx(PCHAR, ULONG, PCHAR *, ULONG *)
BOOL IMAGEAPI BindImage(IN PCSTR, IN PCSTR, IN PCSTR)
BOOL IMAGEAPI SymGetLineNext(IN HANDLE, IN OUT PIMAGEHLP_LINE)
BOOL IMAGEAPI CopyPdb(CHAR const *, CHAR const *, BOOL)
LPAPI_VERSION IMAGEAPI ImagehlpApiVersionEx(LPAPI_VERSION)
DWORD IMAGEAPI MapFileAndCheckSumW(PCWSTR, LPDWORD, LPDWORD)
BOOL IMAGEAPI ImageEnumerateCertificates(IN HANDLE, IN WORD, OUT PDWORD, IN OUT PDWORD OPTIONAL, IN OUT DWORD OPTIONAL)
DWORD IMAGEAPI SymLoadModule(IN HANDLE, IN HANDLE, IN PSTR, IN PSTR, IN DWORD, IN DWORD)
BOOL IMAGEAPI SymRegisterCallback(IN HANDLE, IN PSYMBOL_REGISTERED_CALLBACK, IN PVOID)
BOOL IMAGEAPI SymEnumerateSymbols(IN HANDLE, IN DWORD, IN PSYM_ENUMSYMBOLS_CALLBACK, IN PVOID)
BOOL IMAGEAPI UnmapDebugInformation(PIMAGE_DEBUG_INFORMATION)
BOOL IMAGEAPI RemovePrivateCvSymbolic(PCHAR, PCHAR *, ULONG *)
struct _IMAGEHLP_LINE IMAGEHLP_LINE
struct _IMAGEHLP_LINE * PIMAGEHLP_LINE
struct _IMAGE_DEBUG_INFORMATION IMAGE_DEBUG_INFORMATION
BOOL IMAGEAPI BindImageEx(IN DWORD, IN LPCSTR, IN LPCSTR, IN LPCSTR, IN PIMAGEHLP_STATUS_ROUTINE)
_In_ BOOLEAN MappedAsImage
PULONG MinorVersion OPTIONAL
CHAR LoadedImageName[256]
DWORD KeUserCallbackDispatcher
PIMAGE_SECTION_HEADER Sections
PIMAGE_SECTION_HEADER LastRvaSection
PIMAGE_NT_HEADERS32 FileHeader
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_In_ WDFIOTARGET _In_ PWDF_REQUEST_COMPLETION_PARAMS Params
_Reserved_ PVOID Reserved