WM_PAINT(wParam) might be a valid HDC.
[wine/wine64.git] / dlls / imagehlp / debug.c
blobc1c98c2a7242b8ee27307587af25b2e655604524
1 /*
2 * IMAGEHLP library
4 * Copyright 1998 Patrik Stridvall
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.
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.
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
21 #include "winerror.h"
22 #include "winbase.h"
23 #include "windef.h"
24 #include "wine/debug.h"
25 #include "imagehlp.h"
27 WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
29 /***********************************************************************
30 * FindDebugInfoFile (IMAGEHLP.@)
32 HANDLE WINAPI FindDebugInfoFile(
33 LPSTR FileName, LPSTR SymbolPath, LPSTR DebugFilePath)
35 FIXME("(%s, %s, %s): stub\n",
36 debugstr_a(FileName), debugstr_a(SymbolPath),
37 debugstr_a(DebugFilePath)
39 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
40 return NULL;
43 /***********************************************************************
44 * FindExecutableImage (IMAGEHLP.@)
46 HANDLE WINAPI FindExecutableImage(
47 LPSTR FileName, LPSTR SymbolPath, LPSTR ImageFilePath)
49 FIXME("(%s, %s, %s): stub\n",
50 debugstr_a(FileName), debugstr_a(SymbolPath),
51 debugstr_a(ImageFilePath)
53 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
54 return NULL;
57 /***********************************************************************
58 * MapDebugInformation (IMAGEHLP.@)
60 PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation(
61 HANDLE FileHandle, LPSTR FileName,
62 LPSTR SymbolPath, DWORD ImageBase)
64 FIXME("(%p, %s, %s, 0x%08lx): stub\n",
65 FileHandle, FileName, SymbolPath, ImageBase
67 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
68 return NULL;
71 /***********************************************************************
72 * StackWalk (IMAGEHLP.@)
74 BOOL WINAPI StackWalk(
75 DWORD MachineType, HANDLE hProcess, HANDLE hThread,
76 PSTACKFRAME StackFrame, PVOID ContextRecord,
77 PREAD_PROCESS_MEMORY_ROUTINE ReadMemoryRoutine,
78 PFUNCTION_TABLE_ACCESS_ROUTINE FunctionTableAccessRoutine,
79 PGET_MODULE_BASE_ROUTINE GetModuleBaseRoutine,
80 PTRANSLATE_ADDRESS_ROUTINE TranslateAddress)
82 FIXME(
83 "(%ld, %p, %p, %p, %p, %p, %p, %p, %p): stub\n",
84 MachineType, hProcess, hThread, StackFrame, ContextRecord,
85 ReadMemoryRoutine, FunctionTableAccessRoutine,
86 GetModuleBaseRoutine, TranslateAddress
88 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
89 return FALSE;
92 /***********************************************************************
93 * UnDecorateSymbolName (IMAGEHLP.@)
95 DWORD WINAPI UnDecorateSymbolName(
96 LPCSTR DecoratedName, LPSTR UnDecoratedName,
97 DWORD UndecoratedLength, DWORD Flags)
99 FIXME("(%s, %s, %ld, 0x%08lx): stub\n",
100 debugstr_a(DecoratedName), debugstr_a(UnDecoratedName),
101 UndecoratedLength, Flags
103 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
104 return 0;
107 /***********************************************************************
108 * UnmapDebugInformation (IMAGEHLP.@)
110 BOOL WINAPI UnmapDebugInformation(
111 PIMAGE_DEBUG_INFORMATION DebugInfo)
113 FIXME("(%p): stub\n", DebugInfo);
114 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
115 return FALSE;