Commit 4035b22b authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

imagehlp: Add SYMBOL_INFO_PACKAGE and SymSetSearchPathW().

parent af183df6
...@@ -540,6 +540,8 @@ typedef struct _IMAGEHLP_GET_TYPE_INFO_PARAMS ...@@ -540,6 +540,8 @@ typedef struct _IMAGEHLP_GET_TYPE_INFO_PARAMS
#define IMAGEHLP_SYMBOL_INFO_CONSTANT SYMF_CONSTANT #define IMAGEHLP_SYMBOL_INFO_CONSTANT SYMF_CONSTANT
#define IMAGEHLP_SYMBOL_FUNCTION SYMF_FUNCTION #define IMAGEHLP_SYMBOL_FUNCTION SYMF_FUNCTION
#define MAX_SYM_NAME 2000
typedef struct _SYMBOL_INFO { typedef struct _SYMBOL_INFO {
ULONG SizeOfStruct; ULONG SizeOfStruct;
ULONG TypeIndex; ULONG TypeIndex;
...@@ -577,6 +579,18 @@ typedef struct _SYMBOL_INFOW ...@@ -577,6 +579,18 @@ typedef struct _SYMBOL_INFOW
WCHAR Name[1]; WCHAR Name[1];
} SYMBOL_INFOW, *PSYMBOL_INFOW; } 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 #define DBHHEADER_DEBUGDIRS 0x1
typedef struct _MODLOAD_DATA typedef struct _MODLOAD_DATA
{ {
...@@ -1281,6 +1295,9 @@ BOOL WINAPI SymSetParentWindow( ...@@ -1281,6 +1295,9 @@ BOOL WINAPI SymSetParentWindow(
BOOL WINAPI SymSetSearchPath( BOOL WINAPI SymSetSearchPath(
HANDLE hProcess, PCSTR szSearchPath HANDLE hProcess, PCSTR szSearchPath
); );
BOOL WINAPI SymSetSearchPathW(
HANDLE hProcess, PCWSTR szSearchPath
);
BOOL WINAPI SymUnDName( BOOL WINAPI SymUnDName(
PIMAGEHLP_SYMBOL sym, PSTR UnDecName, DWORD UnDecNameLength PIMAGEHLP_SYMBOL sym, PSTR UnDecName, DWORD UnDecNameLength
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment