diff --git a/include/imagehlp.h b/include/imagehlp.h index 1e33df477e9..f72f1ce0900 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 );