dbghelp: Stub for SymSetParentWindow

Peter Oberndorfer kumbayo84 at arcor.de
Fri Jul 29 04:15:01 CDT 2005


Hi
This allows WinDbg to start

Greetings Peter


Changelog:
add stub for SymSetParentWindow


Index: include/dbghelp.h
===================================================================
RCS file: /home/wine/wine/include/dbghelp.h,v
retrieving revision 1.12
diff -u -p -r1.12 dbghelp.h
--- include/dbghelp.h	23 May 2005 11:43:44 -0000	1.12
+++ include/dbghelp.h	29 Jul 2005 09:11:24 -0000
@@ -887,6 +887,8 @@ BOOL WINAPI UnmapDebugInformation(PIMAGE
 DWORD   WINAPI  SymGetOptions(void);
 DWORD   WINAPI  SymSetOptions(DWORD);
 
+BOOL WINAPI SymSetParentWindow(HWND hwnd);
+
 /* Symbol server bits */
 typedef BOOL     (WINAPI* PSYMBOLSERVERPROC)(LPCSTR, LPCSTR, PVOID, DWORD, DWORD, LPSTR);
 typedef BOOL     (WINAPI* PSYMBOLSERVEROPENPROC)(void);
Index: dlls/dbghelp/dbghelp.c
===================================================================
RCS file: /home/wine/wine/dlls/dbghelp/dbghelp.c,v
retrieving revision 1.10
diff -u -p -r1.10 dbghelp.c
--- dlls/dbghelp/dbghelp.c	28 Mar 2005 14:17:52 -0000	1.10
+++ dlls/dbghelp/dbghelp.c	29 Jul 2005 09:11:25 -0000
@@ -282,6 +282,16 @@ DWORD WINAPI SymGetOptions(void)
 }
 
 /******************************************************************
+ *		SymSetParentWindow (DBGHELP.@)
+ *
+ */
+BOOL WINAPI SymSetParentWindow(HWND hwnd)
+{
+    /* Save hwnd so it can be used as parent window */
+    return TRUE;
+}
+
+/******************************************************************
  *		SymSetContext (DBGHELP.@)
  *
  */
Index: dlls/dbghelp/dbghelp.spec
===================================================================
RCS file: /home/wine/wine/dlls/dbghelp/dbghelp.spec,v
retrieving revision 1.8
diff -u -p -r1.8 dbghelp.spec
--- dlls/dbghelp/dbghelp.spec	23 Jun 2005 09:57:11 -0000	1.8
+++ dlls/dbghelp/dbghelp.spec	29 Jul 2005 09:11:25 -0000
@@ -80,6 +80,7 @@
 @ stub SymRegisterFunctionEntryCallback
 @ stdcall SymSetContext(long ptr ptr)
 @ stdcall SymSetOptions(long)
+@ stdcall SymSetParentWindow(long)
 @ stdcall SymSetSearchPath(long str)
 @ stub SymSetSymWithAddr64
 @ stub SymUnDName64



More information about the wine-patches mailing list