Fix subclassing to support nested messages.
[wine] / dlls / imagehlp / debug.c
1 /*
2  *      IMAGEHLP library
3  *
4  *      Copyright 1998  Patrik Stridvall
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include <stdarg.h>
22
23 #include "winerror.h"
24 #include "windef.h"
25 #include "winbase.h"
26 #include "wine/debug.h"
27 #include "imagehlp.h"
28
29 WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
30
31 /***********************************************************************
32  *              FindDebugInfoFile (IMAGEHLP.@)
33  */
34 HANDLE WINAPI FindDebugInfoFile(
35   LPSTR FileName, LPSTR SymbolPath, LPSTR DebugFilePath)
36 {
37   FIXME("(%s, %s, %s): stub\n",
38     debugstr_a(FileName), debugstr_a(SymbolPath),
39     debugstr_a(DebugFilePath)
40   );
41   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
42   return NULL;
43 }
44
45 /***********************************************************************
46  *              FindExecutableImage (IMAGEHLP.@)
47  */
48 HANDLE WINAPI FindExecutableImage(
49   LPSTR FileName, LPSTR SymbolPath, LPSTR ImageFilePath)
50 {
51   FIXME("(%s, %s, %s): stub\n",
52     debugstr_a(FileName), debugstr_a(SymbolPath),
53     debugstr_a(ImageFilePath)
54   );
55   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
56   return NULL;
57 }
58
59 /***********************************************************************
60  *              MapDebugInformation (IMAGEHLP.@)
61  */
62 PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation(
63   HANDLE FileHandle, LPSTR FileName,
64   LPSTR SymbolPath, DWORD ImageBase)
65 {
66   FIXME("(%p, %s, %s, 0x%08lx): stub\n",
67     FileHandle, FileName, SymbolPath, ImageBase
68   );
69   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
70   return NULL;
71 }
72
73 /***********************************************************************
74  *              StackWalk (IMAGEHLP.@)
75  */
76 BOOL WINAPI StackWalk(
77   DWORD MachineType, HANDLE hProcess, HANDLE hThread,
78   LPSTACKFRAME StackFrame, LPVOID ContextRecord,
79   PREAD_PROCESS_MEMORY_ROUTINE ReadMemoryRoutine,
80   PFUNCTION_TABLE_ACCESS_ROUTINE FunctionTableAccessRoutine,
81   PGET_MODULE_BASE_ROUTINE GetModuleBaseRoutine,
82   PTRANSLATE_ADDRESS_ROUTINE TranslateAddress)
83 {
84   FIXME(
85     "(%ld, %p, %p, %p, %p, %p, %p, %p, %p): stub\n",
86       MachineType, hProcess, hThread, StackFrame, ContextRecord,
87       ReadMemoryRoutine, FunctionTableAccessRoutine,
88       GetModuleBaseRoutine, TranslateAddress
89   );
90   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
91   return FALSE;
92 }
93
94 /***********************************************************************
95  *              UnDecorateSymbolName (IMAGEHLP.@)
96  */
97 DWORD WINAPI UnDecorateSymbolName(
98   LPCSTR DecoratedName, LPSTR UnDecoratedName,
99   DWORD UndecoratedLength, DWORD Flags)
100 {
101   FIXME("(%s, %s, %ld, 0x%08lx): stub\n",
102     debugstr_a(DecoratedName), debugstr_a(UnDecoratedName),
103     UndecoratedLength, Flags
104   );
105   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
106   return 0;
107 }
108
109 /***********************************************************************
110  *              UnmapDebugInformation (IMAGEHLP.@)
111  */
112 BOOL WINAPI UnmapDebugInformation(
113   PIMAGE_DEBUG_INFORMATION DebugInfo)
114 {
115   FIXME("(%p): stub\n", DebugInfo);
116   SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
117   return FALSE;
118 }