4 * Copyright 1998 Patrik Stridvall
10 #include "debugtools.h"
13 DEFAULT_DEBUG_CHANNEL(imagehlp
)
15 /***********************************************************************
16 * BindImage32 (IMAGEHLP.1)
18 BOOL WINAPI
BindImage(
19 LPSTR ImageName
, LPSTR DllPath
, LPSTR SymbolPath
)
21 return BindImageEx(0, ImageName
, DllPath
, SymbolPath
, NULL
);
24 /***********************************************************************
25 * BindImageEx32 (IMAGEHLP.2)
27 BOOL WINAPI
BindImageEx(
28 DWORD Flags
, LPSTR ImageName
, LPSTR DllPath
, LPSTR SymbolPath
,
29 PIMAGEHLP_STATUS_ROUTINE StatusRoutine
)
31 FIXME("(%ld, %s, %s, %s, %p): stub\n",
32 Flags
, debugstr_a(ImageName
), debugstr_a(DllPath
),
33 debugstr_a(SymbolPath
), StatusRoutine
35 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
39 /***********************************************************************
40 * CheckSumMappedFile32 (IMAGEHLP.3)
42 PIMAGE_NT_HEADERS WINAPI
CheckSumMappedFile(
43 LPVOID BaseAddress
, DWORD FileLength
,
44 LPDWORD HeaderSum
, LPDWORD CheckSum
)
46 FIXME("(%p, %ld, %p, %p): stub\n",
47 BaseAddress
, FileLength
, HeaderSum
, CheckSum
49 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
53 /***********************************************************************
54 * MapFileAndCheckSum32A (IMAGEHLP.27)
56 DWORD WINAPI
MapFileAndCheckSumA(
57 LPSTR Filename
, LPDWORD HeaderSum
, LPDWORD CheckSum
)
59 FIXME("(%s, %p, %p): stub\n",
60 debugstr_a(Filename
), HeaderSum
, CheckSum
62 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
63 return CHECKSUM_OPEN_FAILURE
;
66 /***********************************************************************
67 * MapFileAndCheckSum32W (IMAGEHLP.28)
69 DWORD WINAPI
MapFileAndCheckSumW(
70 LPWSTR Filename
, LPDWORD HeaderSum
, LPDWORD CheckSum
)
72 FIXME("(%s, %p, %p): stub\n",
73 debugstr_w(Filename
), HeaderSum
, CheckSum
75 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
76 return CHECKSUM_OPEN_FAILURE
;
79 /***********************************************************************
80 * ReBaseImage32 (IMAGEHLP.30)
82 BOOL WINAPI
ReBaseImage(
83 LPSTR CurrentImageName
, LPSTR SymbolPath
, BOOL fReBase
,
84 BOOL fRebaseSysfileOk
, BOOL fGoingDown
, ULONG CheckImageSize
,
85 ULONG
*OldImageSize
, ULONG
*OldImageBase
, ULONG
*NewImageSize
,
86 ULONG
*NewImageBase
, ULONG TimeStamp
)
89 "(%s, %s, %d, %d, %d, %ld, %p, %p, %p, %p, %ld): stub\n",
90 debugstr_a(CurrentImageName
),debugstr_a(SymbolPath
), fReBase
,
91 fRebaseSysfileOk
, fGoingDown
, CheckImageSize
, OldImageSize
,
92 OldImageBase
, NewImageSize
, NewImageBase
, TimeStamp
94 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
98 /***********************************************************************
99 * RemovePrivateCvSymbolic32 (IMAGEHLP.31)
101 BOOL WINAPI
RemovePrivateCvSymbolic(
102 PCHAR DebugData
, PCHAR
*NewDebugData
, ULONG
*NewDebugSize
)
104 FIXME("(%p, %p, %p): stub\n",
105 DebugData
, NewDebugData
, NewDebugSize
107 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
111 /***********************************************************************
112 * RemoveRelocations32 (IMAGEHLP.32)
114 VOID WINAPI
RemoveRelocations(PCHAR ImageName
)
116 FIXME("(%p): stub\n", ImageName
);
117 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
120 /***********************************************************************
121 * SplitSymbols32 (IMAGEHLP.35)
123 BOOL WINAPI
SplitSymbols(
124 LPSTR ImageName
, LPSTR SymbolsPath
,
125 LPSTR SymbolFilePath
, DWORD Flags
)
127 FIXME("(%s, %s, %s, %ld): stub\n",
128 debugstr_a(ImageName
), debugstr_a(SymbolsPath
),
129 debugstr_a(SymbolFilePath
), Flags
131 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
135 /***********************************************************************
136 * UpdateDebugInfoFile32 (IMAGEHLP.60)
138 BOOL WINAPI
UpdateDebugInfoFile(
139 LPSTR ImageFileName
, LPSTR SymbolPath
,
140 LPSTR DebugFilePath
, PIMAGE_NT_HEADERS NtHeaders
)
142 FIXME("(%s, %s, %s, %p): stub\n",
143 debugstr_a(ImageFileName
), debugstr_a(SymbolPath
),
144 debugstr_a(DebugFilePath
), NtHeaders
146 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
150 /***********************************************************************
151 * UpdateDebugInfoFileEx32 (IMAGEHLP.?)
153 * Function has no ordinal.
155 BOOL WINAPI
UpdateDebugInfoFileEx(
156 LPSTR ImageFileName
, LPSTR SymbolPath
, LPSTR DebugFilePath
,
157 PIMAGE_NT_HEADERS NtHeaders
, DWORD OldChecksum
)
159 FIXME("(%s, %s, %s, %p, %ld): stub\n",
160 debugstr_a(ImageFileName
), debugstr_a(SymbolPath
),
161 debugstr_a(DebugFilePath
), NtHeaders
, OldChecksum
163 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);