4 * Copyright 1998 Patrik Stridvall
10 #include "debugtools.h"
13 DEFAULT_DEBUG_CHANNEL(imagehlp
)
15 /***********************************************************************
16 * SymCleanup32 (IMAGEHLP.37)
18 BOOL WINAPI
SymCleanup(HANDLE hProcess
)
20 FIXME("(0x%08x): stub\n", hProcess
);
21 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
25 /***********************************************************************
26 * SymEnumerateModules32 (IMAGEHLP.38)
29 BOOL WINAPI
SymEnumerateModules(
30 HANDLE hProcess
, PSYM_ENUMMODULES_CALLBACK EnumModulesCallback
,
33 FIXME("(0x%08x, %p, %p): stub\n",
34 hProcess
, EnumModulesCallback
, UserContext
36 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
40 /***********************************************************************
41 * SymEnumerateSymbols32 (IMAGEHLP.39)
43 BOOL WINAPI
SymEnumerateSymbols(
44 HANDLE hProcess
, DWORD BaseOfDll
,
45 PSYM_ENUMSYMBOLS_CALLBACK EnumSymbolsCallback
, PVOID UserContext
)
47 FIXME("(0x%08x, %p, %p): stub\n",
48 hProcess
, EnumSymbolsCallback
, UserContext
50 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
54 /***********************************************************************
55 * SymFunctionTableAccess32 (IMAGEHLP.40)
57 PVOID WINAPI
SymFunctionTableAccess(HANDLE hProcess
, DWORD AddrBase
)
59 FIXME("(0x%08x, 0x%08lx): stub\n", hProcess
, AddrBase
);
60 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
64 /***********************************************************************
65 * SymGetModuleBase32 (IMAGEHLP.41)
67 DWORD WINAPI
SymGetModuleBase(HANDLE hProcess
, DWORD dwAddr
)
69 FIXME("(0x%08x, 0x%08lx): stub\n", hProcess
, dwAddr
);
70 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
74 /***********************************************************************
75 * SymGetModuleInfo32 (IMAGEHLP.42)
77 BOOL WINAPI
SymGetModuleInfo(
78 HANDLE hProcess
, DWORD dwAddr
,
79 PIMAGEHLP_MODULE ModuleInfo
)
81 FIXME("(0x%08x, 0x%08lx, %p): stub\n",
82 hProcess
, dwAddr
, ModuleInfo
84 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
88 /***********************************************************************
89 * SymGetOptions32 (IMAGEHLP.43)
91 DWORD WINAPI
SymGetOptions()
94 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
98 /***********************************************************************
99 * SymGetSearchPath32 (IMAGEHLP.44)
101 BOOL WINAPI
SymGetSearchPath(
102 HANDLE hProcess
, LPSTR szSearchPath
, DWORD SearchPathLength
)
104 FIXME("(0x%08x, %s, %ld): stub\n",
105 hProcess
, debugstr_an(szSearchPath
,SearchPathLength
), SearchPathLength
107 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
111 /***********************************************************************
112 * SymGetSymFromAddr32 (IMAGEHLP.45)
114 BOOL WINAPI
SymGetSymFromAddr(
115 HANDLE hProcess
, DWORD dwAddr
,
116 PDWORD pdwDisplacement
, PIMAGEHLP_SYMBOL Symbol
)
118 FIXME("(0x%08x, 0x%08lx, %p, %p): stub\n",
119 hProcess
, dwAddr
, pdwDisplacement
, Symbol
121 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
125 /***********************************************************************
126 * SymGetSymFromName32 (IMAGEHLP.46)
128 BOOL WINAPI
SymGetSymFromName(
129 HANDLE hProcess
, LPSTR Name
, PIMAGEHLP_SYMBOL Symbol
)
131 FIXME("(0x%08x, %s, %p): stub\n", hProcess
, Name
, Symbol
);
132 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
136 /***********************************************************************
137 * SymGetSymNext32 (IMAGEHLP.47)
139 BOOL WINAPI
SymGetSymNext(
140 HANDLE hProcess
, PIMAGEHLP_SYMBOL Symbol
)
142 FIXME("(0x%08x, %p): stub\n", hProcess
, Symbol
);
143 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
147 /***********************************************************************
148 * SymGetSymPrev32 (IMAGEHLP.48)
151 BOOL WINAPI
SymGetSymPrev(
152 HANDLE hProcess
, PIMAGEHLP_SYMBOL Symbol
)
154 FIXME("(0x%08x, %p): stub\n", hProcess
, Symbol
);
155 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
159 /***********************************************************************
160 * SymInitialize32 (IMAGEHLP.49)
162 BOOL WINAPI
SymInitialize(
163 HANDLE hProcess
, LPSTR UserSearchPath
, BOOL fInvadeProcess
)
165 FIXME("(0x%08x, %s, %d): stub\n",
166 hProcess
, debugstr_a(UserSearchPath
), fInvadeProcess
168 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
172 /***********************************************************************
173 * SymLoadModule32 (IMAGEHLP.50)
176 BOOL WINAPI
SymLoadModule(
177 HANDLE hProcess
, HANDLE hFile
, LPSTR ImageName
, LPSTR ModuleName
,
178 DWORD BaseOfDll
, DWORD SizeOfDll
)
180 FIXME("(0x%08x, 0x%08x, %s, %s, %ld, %ld): stub\n",
181 hProcess
, hFile
, debugstr_a(ImageName
), debugstr_a(ModuleName
),
184 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
188 /***********************************************************************
189 * SymRegisterCallback32 (IMAGEHLP.51)
191 BOOL WINAPI
SymRegisterCallback(
192 HANDLE hProcess
, PSYMBOL_REGISTERED_CALLBACK CallbackFunction
,
195 FIXME("(0x%08x, %p, %p): stub\n",
196 hProcess
, CallbackFunction
, UserContext
198 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
202 /***********************************************************************
203 * SymSetOptions32 (IMAGEHLP.52)
205 DWORD WINAPI
SymSetOptions(DWORD SymOptions
)
207 FIXME("(%lx): stub\n", SymOptions
);
208 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
212 /***********************************************************************
213 * SymSetSearchPath32 (IMAGEHLP.53)
215 BOOL WINAPI
SymSetSearchPath(HANDLE hProcess
, LPSTR szSearchPath
)
217 FIXME("(0x%08x, %s): stub\n",
218 hProcess
, debugstr_a(szSearchPath
)
220 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
224 /***********************************************************************
225 * SymUnDName32 (IMAGEHLP.54)
227 BOOL WINAPI
SymUnDName(
228 PIMAGEHLP_SYMBOL sym
, LPSTR UnDecName
, DWORD UnDecNameLength
)
230 FIXME("(%p, %s, %ld): stub\n",
231 sym
, UnDecName
, UnDecNameLength
233 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
237 /***********************************************************************
238 * SymUnloadModule32 (IMAGEHLP.55)
240 BOOL WINAPI
SymUnloadModule(
241 HANDLE hProcess
, DWORD BaseOfDll
)
243 FIXME("(0x%08x, 0x%08lx): stub\n", hProcess
, BaseOfDll
);
244 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);