4 * Copyright 1998 Patrik Stridvall
10 #include "debugtools.h"
13 DEFAULT_DEBUG_CHANNEL(imagehlp);
15 /***********************************************************************
16 * BindImage (IMAGEHLP.@)
18 BOOL WINAPI BindImage(
19 LPSTR ImageName, LPSTR DllPath, LPSTR SymbolPath)
21 return BindImageEx(0, ImageName, DllPath, SymbolPath, NULL);
24 /***********************************************************************
25 * BindImageEx (IMAGEHLP.@)
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 * CheckSumMappedFile (IMAGEHLP.@)
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 * MapFileAndCheckSumA (IMAGEHLP.@)
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 * MapFileAndCheckSumW (IMAGEHLP.@)
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 * ReBaseImage (IMAGEHLP.@)
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 * RemovePrivateCvSymbolic (IMAGEHLP.@)
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 * RemoveRelocations (IMAGEHLP.@)
114 VOID WINAPI RemoveRelocations(PCHAR ImageName)
116 FIXME("(%p): stub\n", ImageName);
117 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
120 /***********************************************************************
121 * SplitSymbols (IMAGEHLP.@)
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 * UpdateDebugInfoFile (IMAGEHLP.@)
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 * UpdateDebugInfoFileEx (IMAGEHLP.@)
153 BOOL WINAPI UpdateDebugInfoFileEx(
154 LPSTR ImageFileName, LPSTR SymbolPath, LPSTR DebugFilePath,
155 PIMAGE_NT_HEADERS NtHeaders, DWORD OldChecksum)
157 FIXME("(%s, %s, %s, %p, %ld): stub\n",
158 debugstr_a(ImageFileName), debugstr_a(SymbolPath),
159 debugstr_a(DebugFilePath), NtHeaders, OldChecksum
161 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);