ReactOS  0.4.12-dev-685-gf36cbf7
imagehlp.h File Reference
#include <wintrust.h>
Include dependency graph for imagehlp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _LOADED_IMAGE
 
struct  _IMAGE_DEBUG_INFORMATION
 
struct  _tagADDRESS
 
struct  _KDHELP
 
struct  _tagSTACKFRAME
 
struct  API_VERSION
 
struct  _IMAGEHLP_SYMBOL
 
struct  _IMAGEHLP_MODULE
 
struct  _IMAGEHLP_LINE
 
struct  _IMAGEHLP_DEFERRED_SYMBOL_LOAD
 
struct  _IMAGEHLP_DUPLICATE_SYMBOL
 

Macros

#define API_VERSION_NUMBER   7
 
#define BIND_NO_BOUND_IMPORTS   0x00000001
 
#define BIND_NO_UPDATE   0x00000002
 
#define BIND_ALL_IMAGES   0x00000004
 
#define BIND_CACHE_IMPORT_DLLS   0x00000008
 
#define CBA_DEFERRED_SYMBOL_LOAD_START   1
 
#define CBA_DEFERRED_SYMBOL_LOAD_COMPLETE   2
 
#define CBA_DEFERRED_SYMBOL_LOAD_FAILURE   3
 
#define CBA_SYMBOLS_UNLOADED   4
 
#define CBA_DUPLICATE_SYMBOL   5
 
#define CERT_PE_IMAGE_DIGEST_DEBUG_INFO   1
 
#define CERT_PE_IMAGE_DIGEST_RESOURCES   2
 
#define CERT_PE_IMAGE_DIGEST_ALL_IMPORT_INFO   4
 
#define CERT_PE_IMAGE_DIGEST_NON_PE_INFO   8
 
#define CERT_SECTION_TYPE_ANY   255
 
#define CHECKSUM_SUCCESS   0
 
#define CHECKSUM_OPEN_FAILURE   1
 
#define CHECKSUM_MAP_FAILURE   2
 
#define CHECKSUM_MAPVIEW_FAILURE   3
 
#define CHECKSUM_UNICODE_FAILURE   4
 
#define IMAGE_SEPARATION   65536
 
#define SPLITSYM_REMOVE_PRIVATE   1
 
#define SPLITSYM_EXTRACT_ALL   2
 
#define SPLITSYM_SYMBOLPATH_IS_SRC   4
 
#define SYMF_OMAP_GENERATED   1
 
#define SYMF_OMAP_MODIFIED   2
 
#define SYMOPT_CASE_INSENSITIVE   1
 
#define SYMOPT_UNDNAME   2
 
#define SYMOPT_DEFERRED_LOADS   4
 
#define SYMOPT_NO_CPP   8
 
#define SYMOPT_LOAD_LINES   16
 
#define SYMOPT_OMAP_FIND_NEAREST   32
 
#define UNDNAME_COMPLETE   0
 
#define UNDNAME_NO_LEADING_UNDERSCORES   1
 
#define UNDNAME_NO_MS_KEYWORDS   2
 
#define UNDNAME_NO_FUNCTION_RETURNS   4
 
#define UNDNAME_NO_ALLOCATION_MODEL   8
 
#define UNDNAME_NO_ALLOCATION_LANGUAGE   16
 
#define UNDNAME_NO_MS_THISTYPE   32
 
#define UNDNAME_NO_CV_THISTYPE   64
 
#define UNDNAME_NO_THISTYPE   96
 
#define UNDNAME_NO_ACCESS_SPECIFIERS   128
 
#define UNDNAME_NO_THROW_SIGNATURES   256
 
#define UNDNAME_NO_MEMBER_TYPE   512
 
#define UNDNAME_NO_RETURN_UDT_MODEL   1024
 
#define UNDNAME_32_BIT_DECODE   2048
 
#define UNDNAME_NAME_ONLY   4096
 
#define UNDNAME_NO_ARGUMENTS   8192
 
#define UNDNAME_NO_SPECIAL_SYMS   16384
 
#define IMAGEAPI   DECLSPEC_IMPORT __stdcall
 
#define DBHLP_DEPRECIATED
 
#define DBHLPAPI   IMAGEAPI
 
#define MapFileAndCheckSum   MapFileAndCheckSumA
 

Typedefs

typedef enum _IMAGEHLP_STATUS_REASON IMAGEHLP_STATUS_REASON
 
typedef BOOL(WINAPIPIMAGEHLP_STATUS_ROUTINE) (IMAGEHLP_STATUS_REASON, PCSTR, PCSTR, ULONG_PTR, ULONG_PTR)
 
typedef struct _LOADED_IMAGE LOADED_IMAGE
 
typedef struct _LOADED_IMAGEPLOADED_IMAGE
 
typedef struct _IMAGE_DEBUG_INFORMATION IMAGE_DEBUG_INFORMATION
 
typedef struct _IMAGE_DEBUG_INFORMATIONPIMAGE_DEBUG_INFORMATION
 
typedef struct _tagADDRESS ADDRESS
 
typedef struct _tagADDRESSLPADDRESS
 
typedef struct _KDHELP KDHELP
 
typedef struct _KDHELPPKDHELP
 
typedef struct _tagSTACKFRAME STACKFRAME
 
typedef struct _tagSTACKFRAMELPSTACKFRAME
 
typedef BOOL(WINAPIPREAD_PROCESS_MEMORY_ROUTINE) (HANDLE, LPCVOID, LPVOID, DWORD, LPDWORD)
 
typedef LPVOID(WINAPIPFUNCTION_TABLE_ACCESS_ROUTINE) (HANDLE, DWORD)
 
typedef DWORD(WINAPIPGET_MODULE_BASE_ROUTINE) (HANDLE, DWORD)
 
typedef DWORD(WINAPIPTRANSLATE_ADDRESS_ROUTINE) (HANDLE, HANDLE, LPADDRESS)
 
typedef struct API_VERSION API_VERSION
 
typedef struct API_VERSIONLPAPI_VERSION
 
typedef BOOL(CALLBACKPSYM_ENUMMODULES_CALLBACK) (LPSTR, ULONG, PVOID)
 
typedef BOOL(CALLBACKPSYM_ENUMSYMBOLS_CALLBACK) (LPSTR, ULONG, ULONG, PVOID)
 
typedef BOOL(CALLBACKPENUMLOADED_MODULES_CALLBACK) (LPSTR, ULONG, ULONG, PVOID)
 
typedef BOOL(CALLBACKPSYMBOL_REGISTERED_CALLBACK) (HANDLE, ULONG, PVOID, PVOID)
 
typedef struct _IMAGEHLP_SYMBOL IMAGEHLP_SYMBOL
 
typedef struct _IMAGEHLP_SYMBOLPIMAGEHLP_SYMBOL
 
typedef struct _IMAGEHLP_MODULE IMAGEHLP_MODULE
 
typedef struct _IMAGEHLP_MODULEPIMAGEHLP_MODULE
 
typedef struct _IMAGEHLP_LINE IMAGEHLP_LINE
 
typedef struct _IMAGEHLP_LINEPIMAGEHLP_LINE
 
typedef struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD IMAGEHLP_DEFERRED_SYMBOL_LOAD
 
typedef struct _IMAGEHLP_DEFERRED_SYMBOL_LOADPIMAGEHLP_DEFERRED_SYMBOL_LOAD
 
typedef struct _IMAGEHLP_DUPLICATE_SYMBOL IMAGEHLP_DUPLICATE_SYMBOL
 
typedef struct _IMAGEHLP_DUPLICATE_SYMBOLPIMAGEHLP_DUPLICATE_SYMBOL
 
typedef PVOID DIGEST_HANDLE
 
typedef BOOL(WINAPIDIGEST_FUNCTION) (DIGEST_HANDLE refdata, PBYTE pData, DWORD dwLength)
 

Enumerations

enum  _IMAGEHLP_STATUS_REASON {
  BindOutOfMemory, BindRvaToVaFailed, BindNoRoomInImage, BindImportModuleFailed,
  BindImportProcedureFailed, BindImportModule, BindImportProcedure, BindForwarder,
  BindForwarderNOT, BindImageModified, BindExpandFileHeaders, BindImageComplete,
  BindMismatchedSymbols, BindSymbolsNotUpdated
}
 
enum  ADDRESS_MODE {
  AddrMode1616, AddrMode1632, AddrModeReal, AddrModeFlat,
  AddrMode1616, AddrMode1632, AddrModeReal, AddrModeFlat,
  AddrMode1616, AddrMode1632, AddrModeReal, AddrModeFlat
}
 
enum  SYM_TYPE {
  SymNone = 0, SymCoff, SymCv, SymPdb,
  SymExport, SymDeferred, SymSym, SymDia,
  SymVirtual, NumSymTypes, SymNone = 0, SymCoff,
  SymCv, SymPdb, SymExport, SymDeferred,
  SymSym, SymDia, SymVirtual, NumSymTypes,
  SymNone, SymCoff, SymCv, SymPdb,
  SymExport, SymDeferred, SymSym
}
 

Functions

PIMAGE_NT_HEADERS IMAGEAPI CheckSumMappedFile (LPVOID, DWORD, LPDWORD, LPDWORD)
 
DWORD IMAGEAPI MapFileAndCheckSumA (PCSTR, LPDWORD, LPDWORD)
 
DWORD IMAGEAPI MapFileAndCheckSumW (PCWSTR, LPDWORD, LPDWORD)
 
BOOL IMAGEAPI TouchFileTimes (HANDLE, LPSYSTEMTIME)
 
BOOL IMAGEAPI SplitSymbols (PSTR, PCSTR, PSTR, DWORD)
 
HANDLE IMAGEAPI FindDebugInfoFile (PCSTR, PCSTR, PSTR)
 
HANDLE IMAGEAPI FindExecutableImage (PCSTR, PCSTR, PSTR)
 
BOOL IMAGEAPI UpdateDebugInfoFile (PCSTR, PCSTR, PSTR, PIMAGE_NT_HEADERS32)
 
BOOL IMAGEAPI UpdateDebugInfoFileEx (PCSTR, PCSTR, PSTR, PIMAGE_NT_HEADERS32, DWORD)
 
BOOL IMAGEAPI BindImage (IN PCSTR, IN PCSTR, IN PCSTR)
 
BOOL IMAGEAPI BindImageEx (IN DWORD, IN LPCSTR, IN LPCSTR, IN LPCSTR, IN PIMAGEHLP_STATUS_ROUTINE)
 
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)
 
PLOADED_IMAGE IMAGEAPI ImageLoad (PCSTR, PCSTR)
 
BOOL IMAGEAPI ImageUnload (PLOADED_IMAGE)
 
PIMAGE_NT_HEADERS IMAGEAPI ImageNtHeader (IN PVOID)
 
PVOID IMAGEAPI ImageDirectoryEntryToData (IN PVOID, IN BOOLEAN, IN USHORT, OUT PULONG)
 
PVOID IMAGEAPI ImageDirectoryEntryToDataEx (IN PVOID Base, IN BOOLEAN MappedAsImage, IN USHORT DirectoryEntry, OUT PULONG Size, OUT PIMAGE_SECTION_HEADER *FoundSection OPTIONAL)
 
PVOID IMAGEAPI ImageDirectoryEntryToData32 (PVOID Base, BOOLEAN MappedAsImage, USHORT DirectoryEntry, PULONG Size, PIMAGE_SECTION_HEADER *FoundHeader OPTIONAL, PIMAGE_FILE_HEADER FileHeader, PIMAGE_OPTIONAL_HEADER OptionalHeader)
 
PIMAGE_SECTION_HEADER IMAGEAPI ImageRvaToSection (IN PIMAGE_NT_HEADERS, IN PVOID, IN ULONG)
 
PVOID IMAGEAPI ImageRvaToVa (IN PIMAGE_NT_HEADERS, IN PVOID, IN ULONG, IN OUT PIMAGE_SECTION_HEADER *)
 
BOOL IMAGEAPI MapAndLoad (PCSTR, PCSTR, PLOADED_IMAGE, BOOL, BOOL)
 
BOOL IMAGEAPI GetImageConfigInformation (PLOADED_IMAGE, PIMAGE_LOAD_CONFIG_DIRECTORY)
 
DWORD IMAGEAPI GetImageUnusedHeaderBytes (PLOADED_IMAGE, LPDWORD)
 
BOOL IMAGEAPI SetImageConfigInformation (PLOADED_IMAGE, PIMAGE_LOAD_CONFIG_DIRECTORY)
 
BOOL IMAGEAPI UnMapAndLoad (PLOADED_IMAGE)
 
PIMAGE_DEBUG_INFORMATION IMAGEAPI MapDebugInformation (HANDLE, PCSTR, PCSTR, DWORD)
 
BOOL IMAGEAPI UnmapDebugInformation (PIMAGE_DEBUG_INFORMATION)
 
BOOL IMAGEAPI SearchTreeForFile (PCSTR, PCSTR, PSTR)
 
BOOL IMAGEAPI MakeSureDirectoryPathExists (LPCSTR)
 
DWORD IMAGEAPI WINAPI UnDecorateSymbolName (LPCSTR, LPSTR, DWORD, DWORD)
 
BOOL IMAGEAPI StackWalk (DWORD, HANDLE, HANDLE, LPSTACKFRAME, LPVOID, PREAD_PROCESS_MEMORY_ROUTINE, PFUNCTION_TABLE_ACCESS_ROUTINE, PGET_MODULE_BASE_ROUTINE, PTRANSLATE_ADDRESS_ROUTINE)
 
LPAPI_VERSION IMAGEAPI ImagehlpApiVersion (VOID)
 
LPAPI_VERSION IMAGEAPI ImagehlpApiVersionEx (LPAPI_VERSION)
 
DWORD IMAGEAPI GetTimestampForLoadedLibrary (HMODULE)
 
BOOL IMAGEAPI RemovePrivateCvSymbolic (PCHAR, PCHAR *, ULONG *)
 
VOID IMAGEAPI RemoveRelocations (PCHAR)
 
DWORD IMAGEAPI SymSetOptions (IN DWORD)
 
DWORD IMAGEAPI SymGetOptions (VOID)
 
BOOL IMAGEAPI SymCleanup (IN HANDLE)
 
BOOL IMAGEAPI SymEnumerateModules (IN HANDLE, IN PSYM_ENUMMODULES_CALLBACK, IN PVOID)
 
BOOL IMAGEAPI SymEnumerateSymbols (IN HANDLE, IN DWORD, IN PSYM_ENUMSYMBOLS_CALLBACK, IN PVOID)
 
BOOL IMAGEAPI EnumerateLoadedModules (IN HANDLE, IN PENUMLOADED_MODULES_CALLBACK, IN PVOID)
 
LPVOID IMAGEAPI SymFunctionTableAccess (HANDLE, DWORD)
 
BOOL IMAGEAPI SymGetModuleInfo (IN HANDLE, IN DWORD, OUT PIMAGEHLP_MODULE)
 
DWORD IMAGEAPI SymGetModuleBase (IN HANDLE, IN DWORD)
 
BOOL IMAGEAPI SymGetSymFromAddr (IN HANDLE, IN DWORD, OUT PDWORD, OUT PIMAGEHLP_SYMBOL)
 
BOOL IMAGEAPI SymGetSymFromName (IN HANDLE, IN LPSTR, OUT PIMAGEHLP_SYMBOL)
 
BOOL IMAGEAPI SymGetSymNext (IN HANDLE, IN OUT PIMAGEHLP_SYMBOL)
 
BOOL IMAGEAPI SymGetSymPrev (IN HANDLE, IN OUT PIMAGEHLP_SYMBOL)
 
BOOL IMAGEAPI SymGetLineFromAddr (IN HANDLE, IN DWORD, OUT PDWORD, OUT PIMAGEHLP_LINE)
 
BOOL IMAGEAPI SymGetLineFromName (IN HANDLE, IN LPSTR, IN LPSTR, IN DWORD, OUT PLONG, IN OUT PIMAGEHLP_LINE)
 
BOOL IMAGEAPI SymGetLineNext (IN HANDLE, IN OUT PIMAGEHLP_LINE)
 
BOOL IMAGEAPI SymGetLinePrev (IN HANDLE, IN OUT PIMAGEHLP_LINE)
 
BOOL IMAGEAPI SymMatchFileName (IN LPSTR, IN LPSTR, OUT LPSTR *, OUT LPSTR *)
 
BOOL IMAGEAPI SymInitialize (IN HANDLE, IN LPSTR, IN BOOL)
 
BOOL IMAGEAPI SymGetSearchPath (IN HANDLE, OUT LPSTR, IN DWORD)
 
BOOL IMAGEAPI SymSetSearchPath (IN HANDLE, IN LPSTR)
 
DWORD IMAGEAPI SymLoadModule (IN HANDLE, IN HANDLE, IN PSTR, IN PSTR, IN DWORD, IN DWORD)
 
BOOL IMAGEAPI SymUnloadModule (IN HANDLE, IN DWORD)
 
BOOL IMAGEAPI SymUnDName (IN PIMAGEHLP_SYMBOL, OUT LPSTR, IN DWORD)
 
BOOL IMAGEAPI SymRegisterCallback (IN HANDLE, IN PSYMBOL_REGISTERED_CALLBACK, IN PVOID)
 
BOOL IMAGEAPI ImageGetDigestStream (IN HANDLE, IN DWORD, IN DIGEST_FUNCTION, IN DIGEST_HANDLE)
 
BOOL IMAGEAPI ImageAddCertificate (IN HANDLE, IN LPWIN_CERTIFICATE, OUT PDWORD)
 
BOOL IMAGEAPI ImageRemoveCertificate (IN HANDLE, IN DWORD)
 
BOOL IMAGEAPI ImageEnumerateCertificates (IN HANDLE, IN WORD, OUT PDWORD, IN OUT PDWORD OPTIONAL, IN OUT DWORD OPTIONAL)
 
BOOL IMAGEAPI ImageGetCertificateData (IN HANDLE, IN DWORD, OUT LPWIN_CERTIFICATE, IN OUT PDWORD)
 
BOOL IMAGEAPI ImageGetCertificateHeader (IN HANDLE, IN DWORD, IN OUT LPWIN_CERTIFICATE)
 
BOOL IMAGEAPI CopyPdb (CHAR const *, CHAR const *, BOOL)
 
BOOL IMAGEAPI RemovePrivateCvSymbolicEx (PCHAR, ULONG, PCHAR *, ULONG *)
 

Macro Definition Documentation

◆ API_VERSION_NUMBER

#define API_VERSION_NUMBER   7

Definition at line 27 of file imagehlp.h.

◆ BIND_ALL_IMAGES

#define BIND_ALL_IMAGES   0x00000004

Definition at line 30 of file imagehlp.h.

◆ BIND_CACHE_IMPORT_DLLS

#define BIND_CACHE_IMPORT_DLLS   0x00000008

Definition at line 31 of file imagehlp.h.

◆ BIND_NO_BOUND_IMPORTS

#define BIND_NO_BOUND_IMPORTS   0x00000001

Definition at line 28 of file imagehlp.h.

◆ BIND_NO_UPDATE

#define BIND_NO_UPDATE   0x00000002

Definition at line 29 of file imagehlp.h.

◆ CBA_DEFERRED_SYMBOL_LOAD_COMPLETE

#define CBA_DEFERRED_SYMBOL_LOAD_COMPLETE   2

Definition at line 33 of file imagehlp.h.

◆ CBA_DEFERRED_SYMBOL_LOAD_FAILURE

#define CBA_DEFERRED_SYMBOL_LOAD_FAILURE   3

Definition at line 34 of file imagehlp.h.

◆ CBA_DEFERRED_SYMBOL_LOAD_START

#define CBA_DEFERRED_SYMBOL_LOAD_START   1

Definition at line 32 of file imagehlp.h.

◆ CBA_DUPLICATE_SYMBOL

#define CBA_DUPLICATE_SYMBOL   5

Definition at line 36 of file imagehlp.h.

◆ CBA_SYMBOLS_UNLOADED

#define CBA_SYMBOLS_UNLOADED   4

Definition at line 35 of file imagehlp.h.

◆ CERT_PE_IMAGE_DIGEST_ALL_IMPORT_INFO

#define CERT_PE_IMAGE_DIGEST_ALL_IMPORT_INFO   4

Definition at line 39 of file imagehlp.h.

◆ CERT_PE_IMAGE_DIGEST_DEBUG_INFO

#define CERT_PE_IMAGE_DIGEST_DEBUG_INFO   1

Definition at line 37 of file imagehlp.h.

◆ CERT_PE_IMAGE_DIGEST_NON_PE_INFO

#define CERT_PE_IMAGE_DIGEST_NON_PE_INFO   8

Definition at line 40 of file imagehlp.h.

◆ CERT_PE_IMAGE_DIGEST_RESOURCES

#define CERT_PE_IMAGE_DIGEST_RESOURCES   2

Definition at line 38 of file imagehlp.h.

◆ CERT_SECTION_TYPE_ANY

#define CERT_SECTION_TYPE_ANY   255

Definition at line 41 of file imagehlp.h.

◆ CHECKSUM_MAP_FAILURE

#define CHECKSUM_MAP_FAILURE   2

Definition at line 44 of file imagehlp.h.

◆ CHECKSUM_MAPVIEW_FAILURE

#define CHECKSUM_MAPVIEW_FAILURE   3

Definition at line 45 of file imagehlp.h.

◆ CHECKSUM_OPEN_FAILURE

#define CHECKSUM_OPEN_FAILURE   1

Definition at line 43 of file imagehlp.h.

◆ CHECKSUM_SUCCESS

#define CHECKSUM_SUCCESS   0

Definition at line 42 of file imagehlp.h.

◆ CHECKSUM_UNICODE_FAILURE

#define CHECKSUM_UNICODE_FAILURE   4

Definition at line 46 of file imagehlp.h.

◆ DBHLP_DEPRECIATED

#define DBHLP_DEPRECIATED

Definition at line 85 of file imagehlp.h.

◆ DBHLPAPI

#define DBHLPAPI   IMAGEAPI

Definition at line 89 of file imagehlp.h.

◆ IMAGE_SEPARATION

#define IMAGE_SEPARATION   65536

Definition at line 47 of file imagehlp.h.

◆ IMAGEAPI

Definition at line 81 of file imagehlp.h.

◆ MapFileAndCheckSum

#define MapFileAndCheckSum   MapFileAndCheckSumA

Definition at line 388 of file imagehlp.h.

◆ SPLITSYM_EXTRACT_ALL

#define SPLITSYM_EXTRACT_ALL   2

Definition at line 49 of file imagehlp.h.

◆ SPLITSYM_REMOVE_PRIVATE

#define SPLITSYM_REMOVE_PRIVATE   1

Definition at line 48 of file imagehlp.h.

◆ SPLITSYM_SYMBOLPATH_IS_SRC

#define SPLITSYM_SYMBOLPATH_IS_SRC   4

Definition at line 50 of file imagehlp.h.

◆ SYMF_OMAP_GENERATED

#define SYMF_OMAP_GENERATED   1

Definition at line 51 of file imagehlp.h.

◆ SYMF_OMAP_MODIFIED

#define SYMF_OMAP_MODIFIED   2

Definition at line 52 of file imagehlp.h.

◆ SYMOPT_CASE_INSENSITIVE

#define SYMOPT_CASE_INSENSITIVE   1

Definition at line 53 of file imagehlp.h.

◆ SYMOPT_DEFERRED_LOADS

#define SYMOPT_DEFERRED_LOADS   4

Definition at line 55 of file imagehlp.h.

◆ SYMOPT_LOAD_LINES

#define SYMOPT_LOAD_LINES   16

Definition at line 57 of file imagehlp.h.

◆ SYMOPT_NO_CPP

#define SYMOPT_NO_CPP   8

Definition at line 56 of file imagehlp.h.

◆ SYMOPT_OMAP_FIND_NEAREST

#define SYMOPT_OMAP_FIND_NEAREST   32

Definition at line 58 of file imagehlp.h.

◆ SYMOPT_UNDNAME

#define SYMOPT_UNDNAME   2

Definition at line 54 of file imagehlp.h.

◆ UNDNAME_32_BIT_DECODE

#define UNDNAME_32_BIT_DECODE   2048

Definition at line 72 of file imagehlp.h.

◆ UNDNAME_COMPLETE

#define UNDNAME_COMPLETE   0

Definition at line 59 of file imagehlp.h.

◆ UNDNAME_NAME_ONLY

#define UNDNAME_NAME_ONLY   4096

Definition at line 73 of file imagehlp.h.

◆ UNDNAME_NO_ACCESS_SPECIFIERS

#define UNDNAME_NO_ACCESS_SPECIFIERS   128

Definition at line 68 of file imagehlp.h.

◆ UNDNAME_NO_ALLOCATION_LANGUAGE

#define UNDNAME_NO_ALLOCATION_LANGUAGE   16

Definition at line 64 of file imagehlp.h.

◆ UNDNAME_NO_ALLOCATION_MODEL

#define UNDNAME_NO_ALLOCATION_MODEL   8

Definition at line 63 of file imagehlp.h.

◆ UNDNAME_NO_ARGUMENTS

#define UNDNAME_NO_ARGUMENTS   8192

Definition at line 74 of file imagehlp.h.

◆ UNDNAME_NO_CV_THISTYPE

#define UNDNAME_NO_CV_THISTYPE   64

Definition at line 66 of file imagehlp.h.

◆ UNDNAME_NO_FUNCTION_RETURNS

#define UNDNAME_NO_FUNCTION_RETURNS   4

Definition at line 62 of file imagehlp.h.

◆ UNDNAME_NO_LEADING_UNDERSCORES

#define UNDNAME_NO_LEADING_UNDERSCORES   1

Definition at line 60 of file imagehlp.h.

◆ UNDNAME_NO_MEMBER_TYPE

#define UNDNAME_NO_MEMBER_TYPE   512

Definition at line 70 of file imagehlp.h.

◆ UNDNAME_NO_MS_KEYWORDS

#define UNDNAME_NO_MS_KEYWORDS   2

Definition at line 61 of file imagehlp.h.

◆ UNDNAME_NO_MS_THISTYPE

#define UNDNAME_NO_MS_THISTYPE   32

Definition at line 65 of file imagehlp.h.

◆ UNDNAME_NO_RETURN_UDT_MODEL

#define UNDNAME_NO_RETURN_UDT_MODEL   1024

Definition at line 71 of file imagehlp.h.

◆ UNDNAME_NO_SPECIAL_SYMS

#define UNDNAME_NO_SPECIAL_SYMS   16384

Definition at line 75 of file imagehlp.h.

◆ UNDNAME_NO_THISTYPE

#define UNDNAME_NO_THISTYPE   96

Definition at line 67 of file imagehlp.h.

◆ UNDNAME_NO_THROW_SIGNATURES

#define UNDNAME_NO_THROW_SIGNATURES   256

Definition at line 69 of file imagehlp.h.

Typedef Documentation

◆ ADDRESS

◆ API_VERSION

◆ DIGEST_FUNCTION

typedef BOOL(WINAPI* DIGEST_FUNCTION) (DIGEST_HANDLE refdata, PBYTE pData, DWORD dwLength)

Definition at line 308 of file imagehlp.h.

◆ DIGEST_HANDLE

Definition at line 307 of file imagehlp.h.

◆ IMAGE_DEBUG_INFORMATION

◆ IMAGEHLP_DEFERRED_SYMBOL_LOAD

◆ IMAGEHLP_DUPLICATE_SYMBOL

◆ IMAGEHLP_LINE

◆ IMAGEHLP_MODULE

◆ IMAGEHLP_STATUS_REASON

◆ IMAGEHLP_SYMBOL

◆ KDHELP

◆ LOADED_IMAGE

◆ LPADDRESS

◆ LPAPI_VERSION

◆ LPSTACKFRAME

◆ PENUMLOADED_MODULES_CALLBACK

typedef BOOL(CALLBACK* PENUMLOADED_MODULES_CALLBACK) (LPSTR, ULONG, ULONG, PVOID)

Definition at line 206 of file imagehlp.h.

◆ PFUNCTION_TABLE_ACCESS_ROUTINE

typedef LPVOID(WINAPI* PFUNCTION_TABLE_ACCESS_ROUTINE) (HANDLE, DWORD)

Definition at line 195 of file imagehlp.h.

◆ PGET_MODULE_BASE_ROUTINE

typedef DWORD(WINAPI* PGET_MODULE_BASE_ROUTINE) (HANDLE, DWORD)

Definition at line 196 of file imagehlp.h.

◆ PIMAGE_DEBUG_INFORMATION

◆ PIMAGEHLP_DEFERRED_SYMBOL_LOAD

◆ PIMAGEHLP_DUPLICATE_SYMBOL

◆ PIMAGEHLP_LINE

◆ PIMAGEHLP_MODULE

◆ PIMAGEHLP_STATUS_ROUTINE

typedef BOOL(WINAPI* PIMAGEHLP_STATUS_ROUTINE) (IMAGEHLP_STATUS_REASON, PCSTR, PCSTR, ULONG_PTR, ULONG_PTR)

Definition at line 109 of file imagehlp.h.

◆ PIMAGEHLP_SYMBOL

◆ PKDHELP

◆ PLOADED_IMAGE

◆ PREAD_PROCESS_MEMORY_ROUTINE

typedef BOOL(WINAPI* PREAD_PROCESS_MEMORY_ROUTINE) (HANDLE,LPCVOID, LPVOID, DWORD, LPDWORD)

Definition at line 194 of file imagehlp.h.

◆ PSYM_ENUMMODULES_CALLBACK

typedef BOOL(CALLBACK* PSYM_ENUMMODULES_CALLBACK) (LPSTR, ULONG, PVOID)

Definition at line 204 of file imagehlp.h.

◆ PSYM_ENUMSYMBOLS_CALLBACK

typedef BOOL(CALLBACK* PSYM_ENUMSYMBOLS_CALLBACK) (LPSTR, ULONG, ULONG, PVOID)

Definition at line 205 of file imagehlp.h.

◆ PSYMBOL_REGISTERED_CALLBACK

typedef BOOL(CALLBACK* PSYMBOL_REGISTERED_CALLBACK) (HANDLE, ULONG, PVOID, PVOID)

Definition at line 207 of file imagehlp.h.

◆ PTRANSLATE_ADDRESS_ROUTINE

typedef DWORD(WINAPI* PTRANSLATE_ADDRESS_ROUTINE) (HANDLE, HANDLE, LPADDRESS)

Definition at line 197 of file imagehlp.h.

◆ STACKFRAME

Enumeration Type Documentation

◆ _IMAGEHLP_STATUS_REASON

Enumerator
BindOutOfMemory 
BindRvaToVaFailed 
BindNoRoomInImage 
BindImportModuleFailed 
BindImportProcedureFailed 
BindImportModule 
BindImportProcedure 
BindForwarder 
BindForwarderNOT 
BindImageModified 
BindExpandFileHeaders 
BindImageComplete 
BindMismatchedSymbols 
BindSymbolsNotUpdated 

Definition at line 93 of file imagehlp.h.

◆ ADDRESS_MODE

Enumerator
AddrMode1616 
AddrMode1632 
AddrModeReal 
AddrModeFlat 
AddrMode1616 
AddrMode1632 
AddrModeReal 
AddrModeFlat 
AddrMode1616 
AddrMode1632 
AddrModeReal 
AddrModeFlat 

Definition at line 162 of file imagehlp.h.

◆ SYM_TYPE

Enumerator
SymNone 
SymCoff 
SymCv 
SymPdb 
SymExport 
SymDeferred 
SymSym 
SymDia 
SymVirtual 
NumSymTypes 
SymNone 
SymCoff 
SymCv 
SymPdb 
SymExport 
SymDeferred 
SymSym 
SymDia 
SymVirtual 
NumSymTypes 
SymNone 
SymCoff 
SymCv 
SymPdb 
SymExport 
SymDeferred 
SymSym 

Definition at line 208 of file imagehlp.h.

208  {
209  SymNone,
210  SymCoff,
211  SymCv,
212  SymPdb,
213  SymExport,
214  SymDeferred,
215  SymSym
216 } SYM_TYPE;
SYM_TYPE
Definition: imagehlp.h:208

Function Documentation

◆ BindImage()

BOOL IMAGEAPI BindImage ( IN  PCSTR,
IN  PCSTR,
IN  PCSTR 
)

◆ BindImageEx()

BOOL IMAGEAPI BindImageEx ( IN  DWORD,
IN  LPCSTR,
IN  LPCSTR,
IN  LPCSTR,
IN  PIMAGEHLP_STATUS_ROUTINE 
)

◆ CheckSumMappedFile()

PIMAGE_NT_HEADERS IMAGEAPI CheckSumMappedFile ( LPVOID  ,
DWORD  ,
LPDWORD  ,
LPDWORD   
)

Definition at line 187 of file modify.c.

190 {
192  PIMAGE_NT_HEADERS32 Header32;
193  PIMAGE_NT_HEADERS64 Header64;
195  DWORD *ChecksumFile;
196  DWORD CalcSum;
197  DWORD HdrSum = 0;
198 
199  TRACE("(%p, %d, %p, %p)\n",
200  BaseAddress, FileLength, HeaderSum, CheckSum
201  );
202 
203  CalcSum = (DWORD)CalcCheckSum(0, BaseAddress, FileLength);
204 
205  __TRY
206  {
208 #ifdef __REACTOS__
209  _SEH2_LEAVE;
210 #else
211  break;
212 #endif
213 
214  Header32 = (IMAGE_NT_HEADERS32 *)((char *)dos + dos->e_lfanew);
215  if (Header32->Signature != IMAGE_NT_SIGNATURE)
216 #ifdef __REACTOS__
217  _SEH2_LEAVE;
218 #else
219  break;
220 #endif
221 
222  ret = (PIMAGE_NT_HEADERS)Header32;
223 
225  ChecksumFile = &Header32->OptionalHeader.CheckSum;
226  else if (Header32->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR64_MAGIC)
227  {
228  Header64 = (IMAGE_NT_HEADERS64 *)Header32;
229  ChecksumFile = &Header64->OptionalHeader.CheckSum;
230  }
231  else
232 #ifdef __REACTOS__
233  _SEH2_LEAVE;
234 #else
235  break;
236 #endif
237 
238  HdrSum = *ChecksumFile;
239  }
241  {
242  /* nothing */
243  }
244  __ENDTRY
245 
246  /* Subtract image checksum from calculated checksum. */
247  /* fix low word of checksum */
248  if (LOWORD(CalcSum) >= LOWORD(HdrSum))
249  {
250  CalcSum -= LOWORD(HdrSum);
251  }
252  else
253  {
254  CalcSum = ((LOWORD(CalcSum) - LOWORD(HdrSum)) & 0xFFFF) - 1;
255  }
256 
257  /* fix high word of checksum */
258  if (LOWORD(CalcSum) >= HIWORD(HdrSum))
259  {
260  CalcSum -= HIWORD(HdrSum);
261  }
262  else
263  {
264  CalcSum = ((LOWORD(CalcSum) - HIWORD(HdrSum)) & 0xFFFF) - 1;
265  }
266 
267  /* add file length */
268  CalcSum += FileLength;
269 
270  *CheckSum = CalcSum;
271  *HeaderSum = HdrSum;
272 
273  return ret;
274 }
_Out_ PNDIS_HANDLE _Out_ PUINT FileLength
Definition: ndis.h:3209
#define DWORD
Definition: msvc.h:34
static WORD CalcCheckSum(DWORD StartValue, LPVOID BaseAddress, DWORD WordCount)
Definition: modify.c:162
#define IMAGE_NT_OPTIONAL_HDR32_MAGIC
Definition: ntimage.h:376
PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS
Definition: ntddk_ex.h:187
IMAGE_OPTIONAL_HEADER32 OptionalHeader
Definition: ntddk_ex.h:184
#define IMAGE_DOS_SIGNATURE
Definition: pedump.c:89
smooth NULL
Definition: ftsmooth.c:416
#define __TRY
Definition: compat.h:70
IMAGE_OPTIONAL_HEADER64 OptionalHeader
Definition: ntimage.h:396
#define IMAGE_NT_SIGNATURE
Definition: pedump.c:93
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition: mmfuncs.h:404
#define TRACE(s)
Definition: solgame.cpp:4
unsigned long DWORD
Definition: ntddk_ex.h:95
UCHAR CheckSum(LPSTR p, ULONG Len)
Definition: serial.c:197
#define IMAGE_NT_OPTIONAL_HDR64_MAGIC
Definition: ntimage.h:377
#define __ENDTRY
Definition: compat.h:72
int ret
IMAGE_DOS_HEADER dos
Definition: module.c:49
#define HIWORD(l)
Definition: typedefs.h:246
#define _SEH2_LEAVE
Definition: filesup.c:20
#define LOWORD(l)
Definition: pedump.c:82
#define __EXCEPT_PAGE_FAULT
Definition: compat.h:71

Referenced by IMAGEHLP_RecalculateChecksum(), MapFileAndCheckSumA(), and MapFileAndCheckSumW().

◆ CopyPdb()

BOOL IMAGEAPI CopyPdb ( CHAR const ,
CHAR const ,
BOOL   
)

◆ EnumerateLoadedModules()

BOOL IMAGEAPI EnumerateLoadedModules ( IN  HANDLE,
IN  PENUMLOADED_MODULES_CALLBACK,
IN  PVOID 
)

◆ FindDebugInfoFile()

HANDLE IMAGEAPI FindDebugInfoFile ( PCSTR  ,
PCSTR  ,
PSTR   
)

Definition at line 56 of file path.c.

57 {
58  HANDLE h;
59 
62  if (h == INVALID_HANDLE_VALUE)
63  {
64  if (!SearchPathA(SymbolPath, file_name(FileName), NULL, MAX_PATH, DebugFilePath, NULL))
65  return NULL;
66  h = CreateFileA(DebugFilePath, GENERIC_READ, FILE_SHARE_READ, NULL,
68  }
69  return (h == INVALID_HANDLE_VALUE) ? NULL : h;
70 }
#define INVALID_HANDLE_VALUE
Definition: compat.h:391
#define FILE_SHARE_READ
Definition: compat.h:125
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723
static const char const char const char * SymbolPath
Definition: image.c:34
DWORD WINAPI SearchPathA(IN LPCSTR lpPath OPTIONAL, IN LPCSTR lpFileName, IN LPCSTR lpExtension OPTIONAL, IN DWORD nBufferLength, OUT LPSTR lpBuffer, OUT LPSTR *lpFilePart OPTIONAL)
Definition: path.c:1122
smooth NULL
Definition: ftsmooth.c:416
static const char * file_name(const char *str)
Definition: path.c:36
#define OPEN_EXISTING
Definition: compat.h:426
#define MAX_PATH
Definition: compat.h:26
#define FILE_ATTRIBUTE_NORMAL
Definition: compat.h:126
#define GENERIC_READ
Definition: compat.h:124
#define CreateFileA(a, b, c, d, e, f, g)
Definition: compat.h:399

◆ FindExecutableImage()

HANDLE IMAGEAPI FindExecutableImage ( PCSTR  ,
PCSTR  ,
PSTR   
)

Definition at line 124 of file path.c.

125 {
126  return FindExecutableImageEx(FileName, SymbolPath, ImageFilePath, NULL, NULL);
127 }
HANDLE WINAPI FindExecutableImageEx(PCSTR FileName, PCSTR SymbolPath, PSTR ImageFilePath, PFIND_EXE_FILE_CALLBACK Callback, PVOID user)
Definition: path.c:107
static const char const char const char * SymbolPath
Definition: image.c:34
smooth NULL
Definition: ftsmooth.c:416

◆ GetImageConfigInformation()

BOOL IMAGEAPI GetImageConfigInformation ( PLOADED_IMAGE  ,
PIMAGE_LOAD_CONFIG_DIRECTORY   
)

Definition at line 43 of file access.c.

46 {
47  FIXME("(%p, %p): stub\n",
48  LoadedImage, ImageConfigInformation
49  );
51  return FALSE;
52 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define SetLastError(x)
Definition: compat.h:409
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ GetImageUnusedHeaderBytes()

DWORD IMAGEAPI GetImageUnusedHeaderBytes ( PLOADED_IMAGE  ,
LPDWORD   
)

Definition at line 57 of file access.c.

60 {
61  FIXME("(%p, %p): stub\n",
62  LoadedImage, SizeUnusedHeaderBytes
63  );
65  return 0;
66 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define SetLastError(x)
Definition: compat.h:409
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ GetTimestampForLoadedLibrary()

DWORD IMAGEAPI GetTimestampForLoadedLibrary ( HMODULE  )

Definition at line 35 of file image.c.

36 {
37  IMAGE_NT_HEADERS* nth = RtlImageNtHeader(Module);
38  return (nth) ? nth->FileHeader.TimeDateStamp : 0;
39 }
IMAGE_FILE_HEADER FileHeader
Definition: ntddk_ex.h:183
PIMAGE_NT_HEADERS NTAPI RtlImageNtHeader(IN PVOID Base)
Definition: image.c:256

◆ ImageAddCertificate()

BOOL IMAGEAPI ImageAddCertificate ( IN  HANDLE,
IN  LPWIN_CERTIFICATE,
OUT  PDWORD 
)

◆ ImageDirectoryEntryToData()

PVOID IMAGEAPI ImageDirectoryEntryToData ( IN  PVOID,
IN  BOOLEAN,
IN  USHORT,
OUT  PULONG 
)

◆ ImageDirectoryEntryToData32()

PVOID IMAGEAPI ImageDirectoryEntryToData32 ( PVOID  Base,
BOOLEAN  MappedAsImage,
USHORT  DirectoryEntry,
PULONG  Size,
PIMAGE_SECTION_HEADER *FoundHeader  OPTIONAL,
PIMAGE_FILE_HEADER  FileHeader,
PIMAGE_OPTIONAL_HEADER  OptionalHeader 
)

◆ ImageDirectoryEntryToDataEx()

PVOID IMAGEAPI ImageDirectoryEntryToDataEx ( IN PVOID  Base,
IN BOOLEAN  MappedAsImage,
IN USHORT  DirectoryEntry,
OUT PULONG  Size,
OUT PIMAGE_SECTION_HEADER *FoundSection  OPTIONAL 
)

◆ ImageEnumerateCertificates()

BOOL IMAGEAPI ImageEnumerateCertificates ( IN  HANDLE,
IN  WORD,
OUT  PDWORD,
IN OUT PDWORD  OPTIONAL,
IN OUT DWORD  OPTIONAL 
)

◆ ImageGetCertificateData()

BOOL IMAGEAPI ImageGetCertificateData ( IN  HANDLE,
IN  DWORD,
OUT  LPWIN_CERTIFICATE,
IN OUT  PDWORD 
)

◆ ImageGetCertificateHeader()

BOOL IMAGEAPI ImageGetCertificateHeader ( IN  HANDLE,
IN  DWORD,
IN OUT  LPWIN_CERTIFICATE 
)

◆ ImageGetDigestStream()

BOOL IMAGEAPI ImageGetDigestStream ( IN  HANDLE,
IN  DWORD,
IN  DIGEST_FUNCTION,
IN  DIGEST_HANDLE 
)

◆ ImagehlpApiVersion()

LPAPI_VERSION IMAGEAPI ImagehlpApiVersion ( VOID  )

Definition at line 657 of file dbghelp.c.

658 {
659  return &api_version;
660 }
static API_VERSION api_version
Definition: dbghelp.c:652

Referenced by init_dbghelp_version().

◆ ImagehlpApiVersionEx()

LPAPI_VERSION IMAGEAPI ImagehlpApiVersionEx ( LPAPI_VERSION  )

Definition at line 665 of file dbghelp.c.

666 {
667  if (!AppVersion) return NULL;
668 
669  AppVersion->MajorVersion = api_version.MajorVersion;
670  AppVersion->MinorVersion = api_version.MinorVersion;
671  AppVersion->Revision = api_version.Revision;
672  AppVersion->Reserved = api_version.Reserved;
673 
674  return AppVersion;
675 }
USHORT MajorVersion
Definition: compat.h:1205
USHORT MinorVersion
Definition: compat.h:1206
USHORT Revision
Definition: compat.h:1207
smooth NULL
Definition: ftsmooth.c:416
static API_VERSION api_version
Definition: dbghelp.c:652
USHORT Reserved
Definition: compat.h:1208

◆ ImageLoad()

PLOADED_IMAGE IMAGEAPI ImageLoad ( PCSTR  ,
PCSTR   
)

Definition at line 71 of file access.c.

72 {
74 
75  TRACE("(%s, %s)\n", dll_name, dll_path);
76 
77  image = HeapAlloc(IMAGEHLP_hHeap, 0, sizeof(*image));
78  if (!image) return NULL;
79 
80  if (!MapAndLoad(dll_name, dll_path, image, TRUE, TRUE))
81  {
83  return NULL;
84  }
85 
86  image->Links.Flink = image_list.Flink;
87  image->Links.Blink = &image_list;
88  image_list.Flink->Blink = &image->Links;
89  image_list.Flink = &image->Links;
90 
91  return image;
92 }
GLeglImageOES image
Definition: gl.h:2204
#define TRUE
Definition: types.h:120
BOOL WINAPI MapAndLoad(PCSTR pszImageName, PCSTR pszDllPath, PLOADED_IMAGE pLoadedImage, BOOL bDotDll, BOOL bReadOnly)
Definition: access.c:139
LIST_ENTRY image_list
Definition: access.c:36
smooth NULL
Definition: ftsmooth.c:416
DECLSPEC_HIDDEN HANDLE IMAGEHLP_hHeap
Definition: imagehlp_main.c:29
struct _LIST_ENTRY * Flink
Definition: typedefs.h:119
#define TRACE(s)
Definition: solgame.cpp:4
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
#define HeapFree(x, y, z)
Definition: compat.h:394

◆ ImageNtHeader()

PIMAGE_NT_HEADERS IMAGEAPI ImageNtHeader ( IN  PVOID)

◆ ImageRemoveCertificate()

BOOL IMAGEAPI ImageRemoveCertificate ( IN  HANDLE,
IN  DWORD 
)

◆ ImageRvaToSection()

PIMAGE_SECTION_HEADER IMAGEAPI ImageRvaToSection ( IN  PIMAGE_NT_HEADERS,
IN  PVOID,
IN  ULONG 
)

◆ ImageRvaToVa()

PVOID IMAGEAPI ImageRvaToVa ( IN  PIMAGE_NT_HEADERS,
IN  PVOID,
IN  ULONG,
IN OUT PIMAGE_SECTION_HEADER  
)

◆ ImageUnload()

BOOL IMAGEAPI ImageUnload ( PLOADED_IMAGE  )

Definition at line 97 of file access.c.

98 {
99  LIST_ENTRY *entry, *mark;
101 
102  FIXME("(%p)\n", loaded_image);
103 
104  if (!loaded_image)
105  {
106  /* No image loaded or null pointer */
108  return FALSE;
109  }
110 
111  /* FIXME: do we really need to check this? */
112  mark = &image_list;
113  for (entry = mark->Flink; entry != mark; entry = entry->Flink)
114  {
116  if (image == loaded_image)
117  break;
118  }
119 
120  if (entry == mark)
121  {
122  /* Not found */
124  return FALSE;
125  }
126 
127  entry->Blink->Flink = entry->Flink;
128  entry->Flink->Blink = entry->Blink;
129 
130  UnMapAndLoad(loaded_image);
131  HeapFree(IMAGEHLP_hHeap, 0, loaded_image);
132 
133  return TRUE;
134 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
BOOL WINAPI UnMapAndLoad(PLOADED_IMAGE pLoadedImage)
Definition: access.c:236
GLeglImageOES image
Definition: gl.h:2204
#define TRUE
Definition: types.h:120
uint8_t entry
Definition: isohybrid.c:63
#define FIXME(fmt,...)
Definition: debug.h:110
LIST_ENTRY image_list
Definition: access.c:36
DECLSPEC_HIDDEN HANDLE IMAGEHLP_hHeap
Definition: imagehlp_main.c:29
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
struct _LIST_ENTRY * Flink
Definition: typedefs.h:119
#define SetLastError(x)
Definition: compat.h:409
Definition: typedefs.h:117
#define HeapFree(x, y, z)
Definition: compat.h:394

◆ MakeSureDirectoryPathExists()

BOOL IMAGEAPI MakeSureDirectoryPathExists ( LPCSTR  )

Definition at line 132 of file path.c.

133 {
134  char path[MAX_PATH];
135  const char *p = DirPath;
136  int n;
137 
138  if (p[0] && p[1] == ':') p += 2;
139  while (*p == '\\') p++; /* skip drive root */
140  while ((p = strchr(p, '\\')) != NULL)
141  {
142  n = p - DirPath + 1;
143  memcpy(path, DirPath, n);
144  path[n] = '\0';
145  if( !CreateDirectoryA(path, NULL) &&
147  return FALSE;
148  p++;
149  }
152 
153  return TRUE;
154 }
#define TRUE
Definition: types.h:120
#define ERROR_SUCCESS
Definition: deptool.c:10
GLdouble n
Definition: glext.h:7729
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1059
BOOL WINAPI CreateDirectoryA(IN LPCSTR lpPathName, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
Definition: dir.c:37
smooth NULL
Definition: ftsmooth.c:416
#define MAX_PATH
Definition: compat.h:26
#define SetLastError(x)
Definition: compat.h:409
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
Definition: services.c:325
char * strchr(const char *String, int ch)
Definition: utclib.c:501
#define ERROR_ALREADY_EXISTS
Definition: disk.h:80
GLfloat GLfloat p
Definition: glext.h:8902

◆ MapAndLoad()

BOOL IMAGEAPI MapAndLoad ( PCSTR  ,
PCSTR  ,
PLOADED_IMAGE  ,
BOOL  ,
BOOL   
)

Definition at line 139 of file access.c.

141 {
142  CHAR szFileName[MAX_PATH];
144  HANDLE hFileMapping = NULL;
145  PVOID mapping = NULL;
146  PIMAGE_NT_HEADERS pNtHeader = NULL;
147 
148  TRACE("(%s, %s, %p, %d, %d)\n",
149  pszImageName, pszDllPath, pLoadedImage, bDotDll, bReadOnly);
150 
151  if (!SearchPathA(pszDllPath, pszImageName, bDotDll ? ".DLL" : ".EXE",
152  sizeof(szFileName), szFileName, NULL))
153  {
155  goto Error;
156  }
157 
158  hFile = CreateFileA(szFileName,
159  GENERIC_READ | (bReadOnly ? 0 : GENERIC_WRITE),
161  NULL, OPEN_EXISTING, 0, NULL);
163  {
164  WARN("CreateFile: Error = %d\n", GetLastError());
165  goto Error;
166  }
167 
168  hFileMapping = CreateFileMappingA(hFile, NULL,
169  (bReadOnly ? PAGE_READONLY : PAGE_READWRITE) | SEC_COMMIT,
170  0, 0, NULL);
171  if (!hFileMapping)
172  {
173  WARN("CreateFileMapping: Error = %d\n", GetLastError());
174  goto Error;
175  }
176 
177  mapping = MapViewOfFile(hFileMapping, bReadOnly ? FILE_MAP_READ : FILE_MAP_WRITE, 0, 0, 0);
178  CloseHandle(hFileMapping);
179  if (!mapping)
180  {
181  WARN("MapViewOfFile: Error = %d\n", GetLastError());
182  goto Error;
183  }
184 
185  if (!(pNtHeader = RtlImageNtHeader(mapping)))
186  {
187  WARN("Not an NT header\n");
189  goto Error;
190  }
191 
192  pLoadedImage->ModuleName = HeapAlloc(GetProcessHeap(), 0,
193  strlen(szFileName) + 1);
194  if (pLoadedImage->ModuleName) strcpy(pLoadedImage->ModuleName, szFileName);
195  pLoadedImage->hFile = hFile;
196  pLoadedImage->MappedAddress = mapping;
197  pLoadedImage->FileHeader = pNtHeader;
198  pLoadedImage->Sections = (PIMAGE_SECTION_HEADER)
199  ((LPBYTE) &pNtHeader->OptionalHeader +
200  pNtHeader->FileHeader.SizeOfOptionalHeader);
201  pLoadedImage->NumberOfSections = pNtHeader->FileHeader.NumberOfSections;
202  pLoadedImage->SizeOfImage = GetFileSize(hFile, NULL);
203  pLoadedImage->Characteristics = pNtHeader->FileHeader.Characteristics;
204  pLoadedImage->LastRvaSection = pLoadedImage->Sections;
205 
206  pLoadedImage->fSystemImage = FALSE; /* FIXME */
207  pLoadedImage->fDOSImage = FALSE; /* FIXME */
208 
209  pLoadedImage->Links.Flink = &pLoadedImage->Links;
210  pLoadedImage->Links.Blink = &pLoadedImage->Links;
211 
212  return TRUE;
213 
214 Error:
216  return FALSE;
217 }
#define TRUE
Definition: types.h:120
#define CloseHandle
Definition: compat.h:398
#define MapViewOfFile
Definition: compat.h:402
LPCWSTR pszImageName
Definition: env.c:55
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
char CHAR
Definition: xmlstorage.h:175
#define WARN(fmt,...)
Definition: debug.h:111
#define INVALID_HANDLE_VALUE
Definition: compat.h:391
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1059
IMAGE_OPTIONAL_HEADER32 OptionalHeader
Definition: ntddk_ex.h:184
#define FILE_SHARE_READ
Definition: compat.h:125
unsigned char * LPBYTE
Definition: typedefs.h:52
#define SEC_COMMIT
Definition: mmtypes.h:99
DWORD WINAPI SearchPathA(IN LPCSTR lpPath OPTIONAL, IN LPCSTR lpFileName, IN LPCSTR lpExtension OPTIONAL, IN DWORD nBufferLength, OUT LPSTR lpBuffer, OUT LPSTR *lpFilePart OPTIONAL)
Definition: path.c:1122
#define GENERIC_WRITE
Definition: nt_native.h:90
smooth NULL
Definition: ftsmooth.c:416
WORD SizeOfOptionalHeader
Definition: ntddk_ex.h:127
#define FILE_MAP_READ
Definition: compat.h:427
IMAGE_FILE_HEADER FileHeader
Definition: ntddk_ex.h:183
#define ERROR_FILE_NOT_FOUND
Definition: disk.h:79
#define OPEN_EXISTING
Definition: compat.h:426
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:395
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
#define FILE_MAP_WRITE
Definition: winbase.h:154
#define MAX_PATH
Definition: compat.h:26
GLenum GLenum GLenum GLenum mapping
Definition: glext.h:9031
BOOL Error
Definition: chkdsk.c:66
DWORD WINAPI GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh)
Definition: fileinfo.c:481
#define SetLastError(x)
Definition: compat.h:409
#define GENERIC_READ
Definition: compat.h:124
_In_ HANDLE hFile
Definition: mswsock.h:90
struct _IMAGE_SECTION_HEADER * PIMAGE_SECTION_HEADER
#define PAGE_READONLY
Definition: compat.h:127
#define RtlImageNtHeader
Definition: compat.h:457
char * strcpy(char *DstString, const char *SrcString)
Definition: utclib.c:388
#define CreateFileA(a, b, c, d, e, f, g)
Definition: compat.h:399
#define UnmapViewOfFile
Definition: compat.h:403
HANDLE NTAPI CreateFileMappingA(IN HANDLE hFile, IN LPSECURITY_ATTRIBUTES lpFileMappingAttributes, IN DWORD flProtect, IN DWORD dwMaximumSizeHigh, IN DWORD dwMaximumSizeLow, IN LPCSTR lpName)
Definition: filemap.c:23
#define PAGE_READWRITE
Definition: nt_native.h:1304

Referenced by BindImageEx(), ImageLoad(), and START_TEST().

◆ MapDebugInformation()

PIMAGE_DEBUG_INFORMATION IMAGEAPI MapDebugInformation ( HANDLE  ,
PCSTR  ,
PCSTR  ,
DWORD   
)

◆ MapFileAndCheckSumA()

DWORD IMAGEAPI MapFileAndCheckSumA ( PCSTR  ,
LPDWORD  ,
LPDWORD   
)

◆ MapFileAndCheckSumW()

DWORD IMAGEAPI MapFileAndCheckSumW ( PCWSTR  ,
LPDWORD  ,
LPDWORD   
)

◆ ReBaseImage()

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 
)

◆ RemovePrivateCvSymbolic()

BOOL IMAGEAPI RemovePrivateCvSymbolic ( PCHAR  ,
PCHAR ,
ULONG  
)

Definition at line 430 of file modify.c.

432 {
433  FIXME("(%p, %p, %p): stub\n",
434  DebugData, NewDebugData, NewDebugSize
435  );
437  return FALSE;
438 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define SetLastError(x)
Definition: compat.h:409
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ RemovePrivateCvSymbolicEx()

BOOL IMAGEAPI RemovePrivateCvSymbolicEx ( PCHAR  ,
ULONG  ,
PCHAR ,
ULONG  
)

◆ RemoveRelocations()

VOID IMAGEAPI RemoveRelocations ( PCHAR  )

Definition at line 443 of file modify.c.

444 {
445  FIXME("(%p): stub\n", ImageName);
447 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define SetLastError(x)
Definition: compat.h:409
static const char * ImageName
Definition: image.c:34
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ SearchTreeForFile()

BOOL IMAGEAPI SearchTreeForFile ( PCSTR  ,
PCSTR  ,
PSTR   
)

Definition at line 262 of file path.c.

263 {
266  WCHAR bufferW[MAX_PATH];
267  BOOL ret;
268 
271  ret = SearchTreeForFileW(rootW, fileW, bufferW);
272  if (ret)
273  WideCharToMultiByte(CP_ACP, 0, bufferW, -1, buffer, MAX_PATH, NULL, NULL);
274  return ret;
275 }
#define WideCharToMultiByte
Definition: compat.h:101
__wchar_t WCHAR
Definition: xmlstorage.h:180
static const WCHAR rootW[]
Definition: chain.c:69
#define CP_ACP
Definition: compat.h:99
GLuint buffer
Definition: glext.h:5915
DWORD ret
Definition: path.c:47
smooth NULL
Definition: ftsmooth.c:416
unsigned int BOOL
Definition: ntddk_ex.h:94
#define MAX_PATH
Definition: compat.h:26
#define MultiByteToWideChar
Definition: compat.h:100
static const WCHAR fileW[]
Definition: url.c:111
BOOL WINAPI SearchTreeForFileW(PCWSTR root, PCWSTR file, PWSTR buffer)
Definition: path.c:251
Definition: fci.c:126

◆ SetImageConfigInformation()

BOOL IMAGEAPI SetImageConfigInformation ( PLOADED_IMAGE  ,
PIMAGE_LOAD_CONFIG_DIRECTORY   
)

Definition at line 222 of file access.c.

225 {
226  FIXME("(%p, %p): stub\n",
227  LoadedImage, ImageConfigInformation
228  );
230  return FALSE;
231 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define SetLastError(x)
Definition: compat.h:409
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ SplitSymbols()

BOOL IMAGEAPI SplitSymbols ( PSTR  ,
PCSTR  ,
PSTR  ,
DWORD   
)

◆ StackWalk()

Definition at line 139 of file stack.c.

145 {
146  struct cpu_stack_walk csw;
147  STACKFRAME64 frame64;
148  BOOL ret;
149  struct cpu* cpu;
150 
151  TRACE("(%d, %p, %p, %p, %p, %p, %p, %p, %p)\n",
152  MachineType, hProcess, hThread, frame32, ctx,
153  f_read_mem, FunctionTableAccessRoutine,
154  GetModuleBaseRoutine, f_xlat_adr);
155 
156  if (!(cpu = cpu_find(MachineType)))
157  {
159  return FALSE;
160  }
161 
162  addr_32to64(&frame32->AddrPC, &frame64.AddrPC);
163  addr_32to64(&frame32->AddrReturn, &frame64.AddrReturn);
164  addr_32to64(&frame32->AddrFrame, &frame64.AddrFrame);
165  addr_32to64(&frame32->AddrStack, &frame64.AddrStack);
166  addr_32to64(&frame32->AddrBStore, &frame64.AddrBStore);
167  frame64.FuncTableEntry = frame32->FuncTableEntry; /* FIXME */
168  frame64.Far = frame32->Far;
169  frame64.Virtual = frame32->Virtual;
170  frame64.Reserved[0] = frame32->Reserved[0];
171  frame64.Reserved[1] = frame32->Reserved[1];
172  frame64.Reserved[2] = frame32->Reserved[2];
173  /* we don't handle KdHelp */
174 
175  csw.hProcess = hProcess;
176  csw.hThread = hThread;
177  csw.is32 = TRUE;
178  /* sigh... MS isn't even consistent in the func prototypes */
179  csw.u.s32.f_read_mem = (f_read_mem) ? f_read_mem : read_mem;
180  csw.u.s32.f_xlat_adr = f_xlat_adr;
181  csw.u.s32.f_tabl_acs = (FunctionTableAccessRoutine) ? FunctionTableAccessRoutine : SymFunctionTableAccess;
182  csw.u.s32.f_modl_bas = (GetModuleBaseRoutine) ? GetModuleBaseRoutine : SymGetModuleBase;
183 
184  if ((ret = cpu->stack_walk(&csw, &frame64, ctx)))
185  {
186  addr_64to32(&frame64.AddrPC, &frame32->AddrPC);
187  addr_64to32(&frame64.AddrReturn, &frame32->AddrReturn);
188  addr_64to32(&frame64.AddrFrame, &frame32->AddrFrame);
189  addr_64to32(&frame64.AddrStack, &frame32->AddrStack);
190  addr_64to32(&frame64.AddrBStore, &frame32->AddrBStore);
191  frame32->FuncTableEntry = frame64.FuncTableEntry; /* FIXME */
192  frame32->Params[0] = frame64.Params[0];
193  frame32->Params[1] = frame64.Params[1];
194  frame32->Params[2] = frame64.Params[2];
195  frame32->Params[3] = frame64.Params[3];
196  frame32->Far = frame64.Far;
197  frame32->Virtual = frame64.Virtual;
198  frame32->Reserved[0] = frame64.Reserved[0];
199  frame32->Reserved[1] = frame64.Reserved[1];
200  frame32->Reserved[2] = frame64.Reserved[2];
201  }
202 
203  return ret;
204 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
#define TRUE
Definition: types.h:120
PVOID WINAPI SymFunctionTableAccess(HANDLE, DWORD)
Definition: module.c:1161
BOOL(* stack_walk)(struct cpu_stack_walk *csw, LPSTACKFRAME64 frame, CONTEXT *context)
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:70
static void addr_64to32(const ADDRESS64 *addr64, ADDRESS *addr32)
Definition: stack.c:89
struct cpu * cpu_find(DWORD machine)
Definition: dbghelp.c:166
#define TRACE(s)
Definition: solgame.cpp:4
unsigned int BOOL
Definition: ntddk_ex.h:94
#define SetLastError(x)
Definition: compat.h:409
int ret
static void addr_32to64(const ADDRESS *addr32, ADDRESS64 *addr64)
Definition: stack.c:82
static BOOL CALLBACK read_mem(HANDLE hProcess, DWORD addr, void *buffer, DWORD size, LPDWORD nread)
Definition: stack.c:64
HANDLE hThread
Definition: wizard.c:27
DWORD WINAPI SymGetModuleBase(HANDLE hProcess, DWORD dwAddr)
Definition: module.c:1096

◆ SymCleanup()

BOOL IMAGEAPI SymCleanup ( IN  HANDLE)

◆ SymEnumerateModules()

BOOL IMAGEAPI SymEnumerateModules ( IN  HANDLE,
IN  PSYM_ENUMMODULES_CALLBACK,
IN  PVOID 
)

◆ SymEnumerateSymbols()

BOOL IMAGEAPI SymEnumerateSymbols ( IN  HANDLE,
IN  DWORD,
IN  PSYM_ENUMSYMBOLS_CALLBACK,
IN  PVOID 
)

◆ SymFunctionTableAccess()

LPVOID IMAGEAPI SymFunctionTableAccess ( HANDLE  ,
DWORD   
)

Definition at line 1161 of file module.c.

1162 {
1163  return SymFunctionTableAccess64(hProcess, AddrBase);
1164 }
_In_ BOOL _In_ HANDLE hProcess
Definition: mapping.h:70
PVOID WINAPI SymFunctionTableAccess64(HANDLE hProcess, DWORD64 AddrBase)
Definition: module.c:1169

◆ SymGetLineFromAddr()

BOOL IMAGEAPI SymGetLineFromAddr ( IN  HANDLE,
IN  DWORD,
OUT  PDWORD,
OUT  PIMAGEHLP_LINE 
)

◆ SymGetLineFromName()

BOOL IMAGEAPI SymGetLineFromName ( IN  HANDLE,
IN  LPSTR,
IN  LPSTR,
IN  DWORD,
OUT  PLONG,
IN OUT  PIMAGEHLP_LINE 
)

◆ SymGetLineNext()

BOOL IMAGEAPI SymGetLineNext ( IN  HANDLE,
IN OUT  PIMAGEHLP_LINE 
)

◆ SymGetLinePrev()

BOOL IMAGEAPI SymGetLinePrev ( IN  HANDLE,
IN OUT  PIMAGEHLP_LINE 
)

◆ SymGetModuleBase()

DWORD IMAGEAPI SymGetModuleBase ( IN  HANDLE,
IN  DWORD 
)

◆ SymGetModuleInfo()

BOOL IMAGEAPI SymGetModuleInfo ( IN  HANDLE,
IN  DWORD,
OUT  PIMAGEHLP_MODULE 
)

◆ SymGetOptions()

DWORD IMAGEAPI SymGetOptions ( VOID  )

Definition at line 458 of file dbghelp.c.

459 {
460  return dbghelp_options;
461 }
unsigned dbghelp_options
Definition: dbghelp.c:72

Referenced by BeginStackBacktrace(), InitDbgHelp(), and START_TEST().

◆ SymGetSearchPath()

BOOL IMAGEAPI SymGetSearchPath ( IN  HANDLE,
OUT  LPSTR,
IN  DWORD 
)

◆ SymGetSymFromAddr()

BOOL IMAGEAPI SymGetSymFromAddr ( IN  HANDLE,
IN  DWORD,
OUT  PDWORD,
OUT  PIMAGEHLP_SYMBOL 
)

◆ SymGetSymFromName()

BOOL IMAGEAPI SymGetSymFromName ( IN  HANDLE,
IN  LPSTR,
OUT  PIMAGEHLP_SYMBOL 
)

◆ SymGetSymNext()

BOOL IMAGEAPI SymGetSymNext ( IN  HANDLE,
IN OUT  PIMAGEHLP_SYMBOL 
)

◆ SymGetSymPrev()

BOOL IMAGEAPI SymGetSymPrev ( IN  HANDLE,
IN OUT  PIMAGEHLP_SYMBOL 
)

◆ SymInitialize()

BOOL IMAGEAPI SymInitialize ( IN  HANDLE,
IN  LPSTR,
IN  BOOL 
)

◆ SymLoadModule()

DWORD IMAGEAPI SymLoadModule ( IN  HANDLE,
IN  HANDLE,
IN  PSTR,
IN  PSTR,
IN  DWORD,
IN  DWORD 
)

◆ SymMatchFileName()

BOOL IMAGEAPI SymMatchFileName ( IN  LPSTR,
IN  LPSTR,
OUT LPSTR ,
OUT LPSTR  
)

◆ SymRegisterCallback()

BOOL IMAGEAPI SymRegisterCallback ( IN  HANDLE,
IN  PSYMBOL_REGISTERED_CALLBACK,
IN  PVOID 
)

◆ SymSetOptions()

DWORD IMAGEAPI SymSetOptions ( IN  DWORD)

◆ SymSetSearchPath()

BOOL IMAGEAPI SymSetSearchPath ( IN  HANDLE,
IN  LPSTR 
)

◆ SymUnDName()

BOOL IMAGEAPI SymUnDName ( IN  PIMAGEHLP_SYMBOL,
OUT  LPSTR,
IN  DWORD 
)

◆ SymUnloadModule()

BOOL IMAGEAPI SymUnloadModule ( IN  HANDLE,
IN  DWORD 
)

◆ TouchFileTimes()

BOOL IMAGEAPI TouchFileTimes ( HANDLE  ,
LPSYSTEMTIME   
)

Definition at line 59 of file imagehlp_main.c.

60 {
61  FILETIME FileTime;
62  SYSTEMTIME SystemTime;
63 
64  if(lpSystemTime == NULL)
65  {
66  GetSystemTime(&SystemTime);
67  lpSystemTime = &SystemTime;
68  }
69 
70  return (SystemTimeToFileTime(lpSystemTime, &FileTime) &&
71  SetFileTime(FileHandle, NULL, NULL, &FileTime));
72 }
BOOL WINAPI SetFileTime(IN HANDLE hFile, CONST FILETIME *lpCreationTime OPTIONAL, CONST FILETIME *lpLastAccessTime OPTIONAL, CONST FILETIME *lpLastWriteTime OPTIONAL)
Definition: fileinfo.c:1098
HANDLE FileHandle
Definition: stats.c:38
smooth NULL
Definition: ftsmooth.c:416
VOID WINAPI GetSystemTime(OUT LPSYSTEMTIME lpSystemTime)
Definition: time.c:317
BOOL WINAPI SystemTimeToFileTime(IN CONST SYSTEMTIME *lpSystemTime, OUT LPFILETIME lpFileTime)
Definition: time.c:148

◆ UnDecorateSymbolName()

DWORD IMAGEAPI WINAPI UnDecorateSymbolName ( LPCSTR  ,
LPSTR  ,
DWORD  ,
DWORD   
)

◆ UnMapAndLoad()

BOOL IMAGEAPI UnMapAndLoad ( PLOADED_IMAGE  )

Definition at line 236 of file access.c.

237 {
238  HeapFree(GetProcessHeap(), 0, pLoadedImage->ModuleName);
239  /* FIXME: MSDN states that a new checksum is computed and stored into the file */
240  if (pLoadedImage->MappedAddress) UnmapViewOfFile(pLoadedImage->MappedAddress);
241  if (pLoadedImage->hFile != INVALID_HANDLE_VALUE) CloseHandle(pLoadedImage->hFile);
242  return TRUE;
243 }
#define TRUE
Definition: types.h:120
#define CloseHandle
Definition: compat.h:398
#define INVALID_HANDLE_VALUE
Definition: compat.h:391
#define GetProcessHeap()
Definition: compat.h:395
#define UnmapViewOfFile
Definition: compat.h:403
#define HeapFree(x, y, z)
Definition: compat.h:394

Referenced by BindImageEx(), and ImageUnload().

◆ UnmapDebugInformation()

BOOL IMAGEAPI UnmapDebugInformation ( PIMAGE_DEBUG_INFORMATION  )

Definition at line 55 of file image.c.

56 {
57  FIXME("(%p): stub\n", DebugInfo);
59  return FALSE;
60 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define SetLastError(x)
Definition: compat.h:409
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ UpdateDebugInfoFile()

BOOL IMAGEAPI UpdateDebugInfoFile ( PCSTR  ,
PCSTR  ,
PSTR  ,
PIMAGE_NT_HEADERS32   
)

Definition at line 467 of file modify.c.

470 {
471  FIXME("(%s, %s, %s, %p): stub\n",
472  debugstr_a(ImageFileName), debugstr_a(SymbolPath),
473  debugstr_a(DebugFilePath), NtHeaders
474  );
476  return FALSE;
477 }
static const char const char const char * SymbolPath
Definition: image.c:34
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_a
Definition: kernel32.h:31
#define SetLastError(x)
Definition: compat.h:409
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ UpdateDebugInfoFileEx()

BOOL IMAGEAPI UpdateDebugInfoFileEx ( PCSTR  ,
PCSTR  ,
PSTR  ,
PIMAGE_NT_HEADERS32  ,
DWORD   
)

Definition at line 482 of file modify.c.

485 {
486  FIXME("(%s, %s, %s, %p, %d): stub\n",
487  debugstr_a(ImageFileName), debugstr_a(SymbolPath),
488  debugstr_a(DebugFilePath), NtHeaders, OldChecksum
489  );
491  return FALSE;
492 }
static const char const char const char * SymbolPath
Definition: image.c:34
#define FIXME(fmt,...)
Definition: debug.h:110
#define debugstr_a
Definition: kernel32.h:31
#define SetLastError(x)
Definition: compat.h:409
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92