2 * imagehlp.h - Declarations for IMAGEHLP
5 #ifndef __WINE_IMAGEHLP_H
6 #define __WINE_IMAGEHLP_H
12 /***********************************************************************
16 typedef PVOID DIGEST_HANDLE
;
18 /***********************************************************************
22 typedef enum _IMAGEHLP_STATUS_REASON
{
26 BindImportModuleFailed
,
27 BindImportProcedureFailed
,
33 BindExpandFileHeaders
,
35 BindMismatchedSymbols
,
37 } IMAGEHLP_STATUS_REASON
;
39 #define BIND_NO_BOUND_IMPORTS 0x00000001
40 #define BIND_NO_UPDATE 0x00000002
41 #define BIND_ALL_IMAGES 0x00000004
42 #define BIND_CACHE_IMPORT_DLLS 0x00000008
44 #define CERT_PE_IMAGE_DIGEST_DEBUG_INFO 0x01
45 #define CERT_PE_IMAGE_DIGEST_RESOURCES 0x02
46 #define CERT_PE_IMAGE_DIGEST_ALL_IMPORT_INFO 0x04
47 #define CERT_PE_IMAGE_DIGEST_NON_PE_INFO 0x08
49 #define CERT_SECTION_TYPE_ANY 0xFF
51 #define WIN_CERT_REVISION_1_0 0x0100
52 #define WIN_CERT_REVISION_2_0 0x0200
54 #define WIN_CERT_TYPE_X509 0x0001 /* X.509 Certificate */
55 #define WIN_CERT_TYPE_PKCS_SIGNED_DATA 0x0002 /* PKCS SignedData */
56 #define WIN_CERT_TYPE_RESERVED_1 0x0003 /* Reserved */
58 #define SPLITSYM_REMOVE_PRIVATE 0x00000001
59 #define SPLITSYM_EXTRACT_ALL 0x00000002
60 #define SPLITSYM_SYMBOLPATH_IS_SRC 0x00000004
62 #define IMAGE_DEBUG_TYPE_UNKNOWN 0
63 #define IMAGE_DEBUG_TYPE_COFF 1
64 #define IMAGE_DEBUG_TYPE_CODEVIEW 2
65 #define IMAGE_DEBUG_TYPE_FPO 3
66 #define IMAGE_DEBUG_TYPE_MISC 4
67 #define IMAGE_DEBUG_TYPE_EXCEPTION 5
68 #define IMAGE_DEBUG_TYPE_FIXUP 6
69 #define IMAGE_DEBUG_TYPE_OMAP_TO_SRC 7
70 #define IMAGE_DEBUG_TYPE_OMAP_FROM_SRC 8
71 #define IMAGE_DEBUG_TYPE_BORLAND 9
72 #define IMAGE_DEBUG_TYPE_RESERVED10 10
77 #define FRAME_NONFPO 3
79 #define CHECKSUM_SUCCESS 0
80 #define CHECKSUM_OPEN_FAILURE 1
81 #define CHECKSUM_MAP_FAILURE 2
82 #define CHECKSUM_MAPVIEW_FAILURE 3
83 #define CHECKSUM_UNICODE_FAILURE 4
85 typedef enum _ADRESS_MODE
{
92 #define SYMOPT_CASE_INSENSITIVE 0x00000001
93 #define SYMOPT_UNDNAME 0x00000002
94 #define SYMOPT_DEFERRED_LOADS 0x00000004
95 #define SYMOPT_NO_CPP 0x00000008
96 #define SYMOPT_LOAD_LINES 0x00000010
97 #define SYMOPT_OMAP_FIND_NEAREST 0x00000020
99 #define SYMF_OMAP_GENERATED 0x00000001
100 #define SYMF_OMAP_MODIFIED 0x00000002
102 typedef enum _SYM_TYPE
{
109 SymSym
/* .sym file */
112 #define UNDNAME_COMPLETE 0x0000
113 #define UNDNAME_NO_LEADING_UNDERSCORES 0x0001
114 #define UNDNAME_NO_MS_KEYWORDS 0x0002
115 #define UNDNAME_NO_FUNCTION_RETURNS 0x0004
116 #define UNDNAME_NO_ALLOCATION_MODEL 0x0008
117 #define UNDNAME_NO_ALLOCATION_LANGUAGE 0x0010
118 #define UNDNAME_NO_MS_THISTYPE 0x0020
119 #define UNDNAME_NO_CV_THISTYPE 0x0040
120 #define UNDNAME_NO_THISTYPE 0x0060
121 #define UNDNAME_NO_ACCESS_SPECIFIERS 0x0080
122 #define UNDNAME_NO_THROW_SIGNATURES 0x0100
123 #define UNDNAME_NO_MEMBER_TYPE 0x0200
124 #define UNDNAME_NO_RETURN_UDT_MODEL 0x0400
125 #define UNDNAME_32_BIT_DECODE 0x0800
126 #define UNDNAME_NAME_ONLY 0x1000
127 #define UNDNAME_NO_ARGUMENTS 0x2000
128 #define UNDNAME_NO_SPECIAL_SYMS 0x4000
130 #define CBA_DEFERRED_SYMBOL_LOAD_START 0x00000001
131 #define CBA_DEFERRED_SYMBOL_LOAD_COMPLETE 0x00000002
132 #define CBA_DEFERRED_SYMBOL_LOAD_FAILURE 0x00000003
133 #define CBA_SYMBOLS_UNLOADED 0x00000004
134 #define CBA_DUPLICATE_SYMBOL 0x00000005
136 #define IMAGE_DOS_SIGNATURE 0x5A4D /* MZ */
137 #define IMAGE_OS2_SIGNATURE 0x454E /* NE */
138 #define IMAGE_OS2_SIGNATURE_LE 0x454C /* LE */
139 #define IMAGE_VXD_SIGNATURE 0x454C /* LE */
140 #define IMAGE_NT_SIGNATURE 0x00004550 /* PE00 */
142 /***********************************************************************
146 typedef struct _IMAGE_DATA_DIRECTORY
{
147 DWORD VirtualAddress
;
149 } IMAGE_DATA_DIRECTORY
, *PIMAGE_DATA_DIRECTORY
;
151 #define IMAGE_NUMBEROF_DIRECTORY_ENTRIES 16
153 typedef struct _IMAGE_OPTIONAL_HEADER
{
155 /* Standard fields */
158 BYTE MajorLinkerVersion
;
159 BYTE MinorLinkerVersion
;
161 DWORD SizeOfInitializedData
;
162 DWORD SizeOfUninitializedData
;
163 DWORD AddressOfEntryPoint
;
167 /* NT additional fields */
170 DWORD SectionAlignment
;
172 WORD MajorOperatingSystemVersion
;
173 WORD MinorOperatingSystemVersion
;
174 WORD MajorImageVersion
;
175 WORD MinorImageVersion
;
176 WORD MajorSubsystemVersion
;
177 WORD MinorSubsystemVersion
;
178 DWORD Win32VersionValue
;
183 WORD DllCharacteristics
;
184 DWORD SizeOfStackReserve
;
185 DWORD SizeOfStackCommit
;
186 DWORD SizeOfHeapReserve
;
187 DWORD SizeOfHeapCommit
;
189 DWORD NumberOfRvaAndSizes
;
190 IMAGE_DATA_DIRECTORY DataDirectory
[IMAGE_NUMBEROF_DIRECTORY_ENTRIES
];
191 } IMAGE_OPTIONAL_HEADER
, *PIMAGE_OPTIONAL_HEADER
;
193 typedef struct _IMAGE_FILE_HEADER
{
195 WORD NumberOfSections
;
197 DWORD PointerToSymbolTable
;
198 DWORD NumberOfSymbols
;
199 WORD SizeOfOptionalHeader
;
200 WORD Characteristics
;
201 } IMAGE_FILE_HEADER
, *PIMAGE_FILE_HEADER
;
203 typedef struct _IMAGE_NT_HEADERS
{
205 IMAGE_FILE_HEADER FileHeader
;
206 IMAGE_OPTIONAL_HEADER OptionalHeader
;
207 } IMAGE_NT_HEADERS
, *PIMAGE_NT_HEADERS
;
209 #define IMAGE_SIZEOF_SHORT_NAME 8
211 typedef struct _IMAGE_SECTION_HEADER
{
212 BYTE Name
[IMAGE_SIZEOF_SHORT_NAME
];
214 DWORD PhysicalAddress
;
217 DWORD VirtualAddress
;
219 DWORD PointerToRawData
;
220 DWORD PointerToRelocations
;
221 DWORD PointerToLinenumbers
;
222 WORD NumberOfRelocations
;
223 WORD NumberOfLinenumbers
;
224 DWORD Characteristics
;
225 } IMAGE_SECTION_HEADER
, *PIMAGE_SECTION_HEADER
;
227 typedef struct _LOADED_IMAGE
{
230 PUCHAR MappedAddress
;
231 PIMAGE_NT_HEADERS FileHeader
;
232 PIMAGE_SECTION_HEADER LastRvaSection
;
233 ULONG NumberOfSections
;
234 PIMAGE_SECTION_HEADER Sections
;
235 ULONG Characteristics
;
236 BOOLEAN fSystemImage
;
240 } LOADED_IMAGE
, *PLOADED_IMAGE
;
242 typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY
{
243 DWORD Characteristics
;
247 DWORD GlobalFlagsClear
;
248 DWORD GlobalFlagsSet
;
249 DWORD CriticalSectionDefaultTimeout
;
250 DWORD DeCommitFreeBlockThreshold
;
251 DWORD DeCommitTotalFreeThreshold
;
252 PVOID LockPrefixTable
;
253 DWORD MaximumAllocationSize
;
254 DWORD VirtualMemoryThreshold
;
255 DWORD ProcessHeapFlags
;
256 DWORD ProcessAffinityMask
;
261 } IMAGE_LOAD_CONFIG_DIRECTORY
, *PIMAGE_LOAD_CONFIG_DIRECTORY
;
263 typedef struct _WIN_CERTIFICATE
{
265 WORD wRevision
; /* WIN_CERT_REVISON_xxx */
266 WORD wCertificateType
; /* WIN_CERT_TYPE_xxx */
267 BYTE bCertificate
[ANYSIZE_ARRAY
];
268 } WIN_CERTIFICATE
, *PWIN_CERTIFICATE
;
270 typedef struct _API_VERSION
{
275 } API_VERSION
, *PAPI_VERSION
;
277 typedef struct _IMAGE_FUNCTION_ENTRY
{
278 DWORD StartingAddress
;
281 } IMAGE_FUNCTION_ENTRY
, *PIMAGE_FUNCTION_ENTRY
;
283 typedef struct _IMAGE_DEBUG_DIRECTORY
{
284 DWORD Characteristics
;
290 DWORD AddressOfRawData
;
291 DWORD PointerToRawData
;
292 } IMAGE_DEBUG_DIRECTORY
, *PIMAGE_DEBUG_DIRECTORY
;
294 typedef struct _IMAGE_COFF_SYMBOLS_HEADER
{
295 DWORD NumberOfSymbols
;
296 DWORD LvaToFirstSymbol
;
297 DWORD NumberOfLinenumbers
;
298 DWORD LvaToFirstLinenumber
;
299 DWORD RvaToFirstByteOfCode
;
300 DWORD RvaToLastByteOfCode
;
301 DWORD RvaToFirstByteOfData
;
302 DWORD RvaToLastByteOfData
;
303 } IMAGE_COFF_SYMBOLS_HEADER
, *PIMAGE_COFF_SYMBOLS_HEADER
;
305 typedef struct _FPO_DATA
{
316 } FPO_DATA
, *PFPO_DATA
;
318 typedef struct _IMAGE_DEBUG_INFORMATION
{
323 USHORT Characteristics
;
328 DWORD NumberOfSections
;
329 PIMAGE_SECTION_HEADER Sections
;
331 DWORD ExportedNamesSize
;
334 DWORD NumberOfFunctionTableEntries
;
335 PIMAGE_FUNCTION_ENTRY FunctionTableEntries
;
336 DWORD LowestFunctionStartingAddress
;
337 DWORD HighestFunctionEndingAddress
;
339 DWORD NumberOfFpoTableEntries
;
340 PFPO_DATA FpoTableEntries
;
342 DWORD SizeOfCoffSymbols
;
343 PIMAGE_COFF_SYMBOLS_HEADER CoffSymbols
;
345 DWORD SizeOfCodeViewSymbols
;
346 PVOID CodeViewSymbols
;
355 PIMAGE_DEBUG_DIRECTORY DebugDirectory
;
356 DWORD NumberOfDebugDirectories
;
359 } IMAGE_DEBUG_INFORMATION
, *PIMAGE_DEBUG_INFORMATION
;
361 typedef struct _ADDRESS
{
365 } ADDRESS
, *PADDRESS
;
367 typedef struct _KDHELP
{
369 DWORD ThCallbackStack
;
372 DWORD KiCallUserMode
;
373 DWORD KeUserCallbackDispatcher
;
374 DWORD SystemRangeStart
;
377 typedef struct _STACKFRAME
{
382 PVOID FuncTableEntry
;
388 } STACKFRAME
, *PSTACKFRAME
;
390 typedef struct _IMAGEHLP_SYMBOL
{
396 CHAR Name
[ANYSIZE_ARRAY
];
397 } IMAGEHLP_SYMBOL
, *PIMAGEHLP_SYMBOL
;
399 typedef struct _IMAGEHLP_MODULE
{
409 CHAR LoadedImageName
[256];
410 } IMAGEHLP_MODULE
, *PIMAGEHLP_MODULE
;
412 typedef struct _IMAGEHLP_LINE
{
418 } IMAGEHLP_LINE
, *PIMAGEHLP_LINE
;
420 typedef struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD
{
425 CHAR FileName
[MAX_PATH
];
427 } IMAGEHLP_DEFERRED_SYMBOL_LOAD
, *PIMAGEHLP_DEFERRED_SYMBOL_LOAD
;
429 typedef struct _IMAGEHLP_DUPLICATE_SYMBOL
{
432 PIMAGEHLP_SYMBOL Symbol
;
433 ULONG SelectedSymbol
;
434 } IMAGEHLP_DUPLICATE_SYMBOL
, *PIMAGEHLP_DUPLICATE_SYMBOL
;
436 typedef struct _IMAGE_DOS_HEADER
{
456 } IMAGE_DOS_HEADER
, *PIMAGE_DOS_HEADER
;
458 typedef struct _IMAGE_OS2_HEADER
{
486 WORD ne_psegrefbytes
;
489 } IMAGE_OS2_HEADER
, *PIMAGE_OS2_HEADER
;
491 typedef struct _IMAGE_VXD_HEADER
{
506 DWORD e32_lastpagesize
;
535 DWORD e32_instpreload
;
536 DWORD e32_instdemand
;
543 } IMAGE_VXD_HEADER
, *PIMAGE_VXD_HEADER
;
545 /***********************************************************************
549 typedef BOOL (CALLBACK
*PIMAGEHLP_STATUS_ROUTINE
)(
550 IMAGEHLP_STATUS_REASON Reason
, LPSTR ImageName
, LPSTR DllName
,
551 ULONG Va
, ULONG Parameter
554 typedef BOOL (CALLBACK
*PSYM_ENUMMODULES_CALLBACK
)(
555 LPSTR ModuleName
, ULONG BaseOfDll
, PVOID UserContext
558 typedef BOOL (CALLBACK
*PSYM_ENUMSYMBOLS_CALLBACK
)(
559 LPSTR SymbolName
, ULONG SymbolAddress
, ULONG SymbolSize
,
563 typedef BOOL (CALLBACK
*PENUMLOADED_MODULES_CALLBACK
)(
564 LPSTR ModuleName
, ULONG ModuleBase
, ULONG ModuleSize
,
568 typedef BOOL (CALLBACK
*PSYMBOL_REGISTERED_CALLBACK
)(
569 HANDLE hProcess
, ULONG ActionCode
, PVOID CallbackData
,
573 typedef BOOL (CALLBACK
*DIGEST_FUNCTION
)(
574 DIGEST_HANDLE refdata
, PBYTE pData
, DWORD dwLength
577 typedef BOOL (CALLBACK
*PREAD_PROCESS_MEMORY_ROUTINE
)(
578 HANDLE hProcess
, PCVOID lpBaseAddress
, PVOID lpBuffer
,
579 DWORD nSize
, PDWORD lpNumberOfBytesRead
582 typedef PVOID (CALLBACK
*PFUNCTION_TABLE_ACCESS_ROUTINE
)(
583 HANDLE hProcess
, DWORD AddrBase
586 typedef DWORD (CALLBACK
*PGET_MODULE_BASE_ROUTINE
)(
587 HANDLE hProcess
, DWORD ReturnAddress
);
589 typedef DWORD (CALLBACK
*PTRANSLATE_ADDRESS_ROUTINE
)(
590 HANDLE hProcess
, HANDLE hThread
, PADDRESS lpaddr
593 /***********************************************************************
597 BOOL WINAPI
BindImage(
598 LPSTR ImageName
, LPSTR DllPath
, LPSTR SymbolPath
600 BOOL WINAPI
BindImageEx(
601 DWORD Flags
, LPSTR ImageName
, LPSTR DllPath
, LPSTR SymbolPath
,
602 PIMAGEHLP_STATUS_ROUTINE StatusRoutine
604 PIMAGE_NT_HEADERS WINAPI
CheckSumMappedFile(
605 LPVOID BaseAddress
, DWORD FileLength
,
606 LPDWORD HeaderSum
, LPDWORD CheckSum
608 BOOL WINAPI
EnumerateLoadedModules(
610 PENUMLOADED_MODULES_CALLBACK EnumLoadedModulesCallback
,
613 HANDLE WINAPI
FindDebugInfoFile(
614 LPSTR FileName
, LPSTR SymbolPath
, LPSTR DebugFilePath
616 HANDLE WINAPI
FindExecutableImage(
617 LPSTR FileName
, LPSTR SymbolPath
, LPSTR ImageFilePath
619 BOOL WINAPI
GetImageConfigInformation(
620 PLOADED_IMAGE LoadedImage
,
621 PIMAGE_LOAD_CONFIG_DIRECTORY ImageConfigInformation
623 DWORD WINAPI
GetImageUnusedHeaderBytes(
624 PLOADED_IMAGE LoadedImage
,
625 LPDWORD SizeUnusedHeaderBytes
627 DWORD WINAPI
GetTimestampForLoadedLibrary(
630 BOOL WINAPI
ImageAddCertificate(
631 HANDLE FileHandle
, PWIN_CERTIFICATE Certificate
, PDWORD Index
633 PVOID WINAPI
ImageDirectoryEntryToData(
634 PVOID Base
, BOOLEAN MappedAsImage
, USHORT DirectoryEntry
, PULONG Size
636 BOOL WINAPI
ImageEnumerateCertificates(
637 HANDLE FileHandle
, WORD TypeFilter
, PDWORD CertificateCount
,
638 PDWORD Indices
, DWORD IndexCount
640 BOOL WINAPI
ImageGetCertificateData(
641 HANDLE FileHandle
, DWORD CertificateIndex
,
642 PWIN_CERTIFICATE Certificate
, PDWORD RequiredLength
644 BOOL WINAPI
ImageGetCertificateHeader(
645 HANDLE FileHandle
, DWORD CertificateIndex
,
646 PWIN_CERTIFICATE Certificateheader
648 BOOL WINAPI
ImageGetDigestStream(
649 HANDLE FileHandle
, DWORD DigestLevel
,
650 DIGEST_FUNCTION DigestFunction
, DIGEST_HANDLE DigestHandle
652 PLOADED_IMAGE WINAPI
ImageLoad(
653 LPSTR DllName
, LPSTR DllPath
655 PIMAGE_NT_HEADERS WINAPI
ImageNtHeader(
658 BOOL WINAPI
ImageRemoveCertificate(
659 HANDLE FileHandle
, DWORD Index
661 PIMAGE_SECTION_HEADER WINAPI
ImageRvaToSection(
662 PIMAGE_NT_HEADERS NtHeaders
, PVOID Base
, ULONG Rva
664 PVOID WINAPI
ImageRvaToVa(
665 PIMAGE_NT_HEADERS NtHeaders
, PVOID Base
, ULONG Rva
,
666 PIMAGE_SECTION_HEADER
*LastRvaSection
668 BOOL WINAPI
ImageUnload(
669 PLOADED_IMAGE LoadedImage
671 PAPI_VERSION WINAPI
ImagehlpApiVersion(
674 PAPI_VERSION WINAPI
ImagehlpApiVersionEx(
675 PAPI_VERSION AppVersion
677 BOOL WINAPI
MakeSureDirectoryPathExists(
680 BOOL WINAPI
MapAndLoad(
681 LPSTR ImageName
, LPSTR DllPath
, PLOADED_IMAGE LoadedImage
,
682 BOOL DotDll
, BOOL ReadOnly
684 PIMAGE_DEBUG_INFORMATION WINAPI
MapDebugInformation(
685 HANDLE FileHandle
, LPSTR FileName
,
686 LPSTR SymbolPath
, DWORD ImageBase
688 DWORD WINAPI
MapFileAndCheckSumA(
689 LPSTR Filename
, LPDWORD HeaderSum
, LPDWORD CheckSum
691 DWORD WINAPI
MapFileAndCheckSumW(
692 LPWSTR Filename
, LPDWORD HeaderSum
, LPDWORD CheckSum
694 BOOL WINAPI
ReBaseImage(
695 LPSTR CurrentImageName
, LPSTR SymbolPath
, BOOL fReBase
,
696 BOOL fRebaseSysfileOk
, BOOL fGoingDown
, ULONG CheckImageSize
,
697 ULONG
*OldImageSize
, ULONG
*OldImageBase
, ULONG
*NewImageSize
,
698 ULONG
*NewImageBase
, ULONG TimeStamp
700 BOOL WINAPI
RemovePrivateCvSymbolic(
701 PCHAR DebugData
, PCHAR
*NewDebugData
, ULONG
*NewDebugSize
703 VOID WINAPI
RemoveRelocations(
706 BOOL WINAPI
SearchTreeForFile(
707 LPSTR RootPath
, LPSTR InputPathName
, LPSTR OutputPathBuffer
709 BOOL WINAPI
SetImageConfigInformation(
710 PLOADED_IMAGE LoadedImage
,
711 PIMAGE_LOAD_CONFIG_DIRECTORY ImageConfigInformation
713 BOOL WINAPI
SplitSymbols(
714 LPSTR ImageName
, LPSTR SymbolsPath
,
715 LPSTR SymbolFilePath
, DWORD Flags
717 BOOL WINAPI
StackWalk(
718 DWORD MachineType
, HANDLE hProcess
, HANDLE hThread
,
719 PSTACKFRAME StackFrame
, PVOID ContextRecord
,
720 PREAD_PROCESS_MEMORY_ROUTINE ReadMemoryRoutine
,
721 PFUNCTION_TABLE_ACCESS_ROUTINE FunctionTableAccessRoutine
,
722 PGET_MODULE_BASE_ROUTINE GetModuleBaseRoutine
,
723 PTRANSLATE_ADDRESS_ROUTINE TranslateAddress
725 BOOL WINAPI
SymCleanup(
728 BOOL WINAPI
SymEnumerateModules(
729 HANDLE hProcess
, PSYM_ENUMMODULES_CALLBACK EnumModulesCallback
,
732 BOOL WINAPI
SymEnumerateSymbols(
733 HANDLE hProcess
, DWORD BaseOfDll
,
734 PSYM_ENUMSYMBOLS_CALLBACK EnumSymbolsCallback
, PVOID UserContext
736 PVOID WINAPI
SymFunctionTableAccess(
737 HANDLE hProcess
, DWORD AddrBase
739 DWORD WINAPI
SymGetModuleBase(
740 HANDLE hProcess
, DWORD dwAddr
742 BOOL WINAPI
SymGetModuleInfo(
743 HANDLE hProcess
, DWORD dwAddr
,
744 PIMAGEHLP_MODULE ModuleInfo
746 DWORD WINAPI
SymGetOptions(
749 BOOL WINAPI
SymGetSearchPath(
750 HANDLE hProcess
, LPSTR szSearchPath
, DWORD SearchPathLength
752 BOOL WINAPI
SymGetSymFromAddr(
753 HANDLE hProcess
, DWORD dwAddr
,
754 PDWORD pdwDisplacement
, PIMAGEHLP_SYMBOL Symbol
756 BOOL WINAPI
SymGetSymFromName(
757 HANDLE hProcess
, LPSTR Name
, PIMAGEHLP_SYMBOL Symbol
759 BOOL WINAPI
SymGetSymNext(
760 HANDLE hProcess
, PIMAGEHLP_SYMBOL Symbol
762 BOOL WINAPI
SymGetSymPrev(
763 HANDLE hProcess
, PIMAGEHLP_SYMBOL Symbol
765 BOOL WINAPI
SymInitialize(
766 HANDLE hProcess
, LPSTR UserSearchPath
, BOOL fInvadeProcess
768 BOOL WINAPI
SymLoadModule(
769 HANDLE hProcess
, HANDLE hFile
, LPSTR ImageName
, LPSTR ModuleName
,
770 DWORD BaseOfDll
, DWORD SizeOfDll
772 BOOL WINAPI
SymRegisterCallback(
773 HANDLE hProcess
, PSYMBOL_REGISTERED_CALLBACK CallbackFunction
,
776 DWORD WINAPI
SymSetOptions(
779 BOOL WINAPI
SymSetSearchPath(
780 HANDLE hProcess
, LPSTR szSearchPath
782 BOOL WINAPI
SymUnDName(
783 PIMAGEHLP_SYMBOL sym
, LPSTR UnDecName
, DWORD UnDecNameLength
785 BOOL WINAPI
SymUnloadModule(
786 HANDLE hProcess
, DWORD BaseOfDll
788 BOOL WINAPI
TouchFileTimes(
789 HANDLE FileHandle
, LPSYSTEMTIME lpSystemTime
791 DWORD WINAPI
UnDecorateSymbolName(
792 LPCSTR DecoratedName
, LPSTR UnDecoratedName
,
793 DWORD UndecoratedLength
, DWORD Flags
795 BOOL WINAPI
UnMapAndLoad(
796 PLOADED_IMAGE LoadedImage
798 BOOL WINAPI
UnmapDebugInformation(
799 PIMAGE_DEBUG_INFORMATION DebugInfo
801 BOOL WINAPI
UpdateDebugInfoFile(
802 LPSTR ImageFileName
, LPSTR SymbolPath
,
803 LPSTR DebugFilePath
, PIMAGE_NT_HEADERS NtHeaders
805 BOOL WINAPI
UpdateDebugInfoFileEx(
806 LPSTR ImageFileName
, LPSTR SymbolPath
, LPSTR DebugFilePath
,
807 PIMAGE_NT_HEADERS NtHeaders
, DWORD OldChecksum
810 /***********************************************************************
814 extern HANDLE IMAGEHLP_hHeap
;
816 #endif /* __WINE_IMAGEHLP_H */