Francois Gouget : imagehlp: Add SYMBOL_INFO_PACKAGE and SymSetSearchPathW() .

Alexandre Julliard julliard at winehq.org
Tue Sep 18 05:31:13 CDT 2007


Module: wine
Branch: master
Commit: 4035b22bf75eb94a2b9a0f535574da09891f8cea
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4035b22bf75eb94a2b9a0f535574da09891f8cea

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Sep 18 00:40:42 2007 +0200

imagehlp: Add SYMBOL_INFO_PACKAGE and SymSetSearchPathW().

---

 include/imagehlp.h |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/include/imagehlp.h b/include/imagehlp.h
index 1e33df4..f72f1ce 100644
--- a/include/imagehlp.h
+++ b/include/imagehlp.h
@@ -540,6 +540,8 @@ typedef struct _IMAGEHLP_GET_TYPE_INFO_PARAMS
 #define IMAGEHLP_SYMBOL_INFO_CONSTANT              SYMF_CONSTANT
 #define IMAGEHLP_SYMBOL_FUNCTION                   SYMF_FUNCTION
 
+#define MAX_SYM_NAME                               2000
+
 typedef struct _SYMBOL_INFO {
     ULONG       SizeOfStruct;
     ULONG       TypeIndex;
@@ -577,6 +579,18 @@ typedef struct _SYMBOL_INFOW
     WCHAR       Name[1];
 } SYMBOL_INFOW, *PSYMBOL_INFOW;
 
+typedef struct _SYMBOL_INFO_PACKAGE
+{
+    SYMBOL_INFO si;
+    CHAR        name[MAX_SYM_NAME+1];
+} SYMBOL_INFO_PACKAGE, *PSYMBOL_INFO_PACKAGE;
+
+typedef struct _SYMBOL_INFO_PACKAGEW
+{
+    SYMBOL_INFOW si;
+    WCHAR        name[MAX_SYM_NAME+1];
+} SYMBOL_INFO_PACKAGEW, *PSYMBOL_INFO_PACKAGEW;
+
 #define DBHHEADER_DEBUGDIRS     0x1
 typedef struct _MODLOAD_DATA
 {
@@ -1281,6 +1295,9 @@ BOOL WINAPI SymSetParentWindow(
 BOOL WINAPI SymSetSearchPath(
   HANDLE hProcess, PCSTR szSearchPath
 );
+BOOL WINAPI SymSetSearchPathW(
+  HANDLE hProcess, PCWSTR szSearchPath
+);
 BOOL WINAPI SymUnDName(
   PIMAGEHLP_SYMBOL sym, PSTR UnDecName, DWORD UnDecNameLength
 );




More information about the wine-cvs mailing list