dbghelp: Add SymGetExtendedOption/SymSetExtendedOption stubs.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2019-06-06 23:44:28 +00:00 committed by Alexandre Julliard
parent 7c29fe243a
commit 3fed878725
3 changed files with 30 additions and 0 deletions

View File

@ -451,6 +451,26 @@ DWORD WINAPI SymGetOptions(void)
return dbghelp_options;
}
/******************************************************************
* SymSetExtendedOption (DBGHELP.@)
*
*/
BOOL WINAPI SymSetExtendedOption(IMAGEHLP_EXTENDED_OPTIONS option, BOOL value)
{
FIXME("%d, %d\n", option, value);
return FALSE;
}
/******************************************************************
* SymGetExtendedOption (DBGHELP.@)
*
*/
BOOL WINAPI SymGetExtendedOption(IMAGEHLP_EXTENDED_OPTIONS option)
{
FIXME("%d\n", option);
return FALSE;
}
/******************************************************************
* SymSetParentWindow (DBGHELP.@)
*

View File

@ -83,6 +83,7 @@
@ stub SymGetFileLineOffsets64
@ stub SymGetHomeDirectory
@ stub SymGetHomeDirectoryW
@ stdcall SymGetExtendedOption(long)
@ stdcall SymGetLineFromAddr(long long ptr ptr)
@ stdcall SymGetLineFromAddr64(long int64 ptr ptr)
@ stdcall SymGetLineFromAddrW64(long int64 ptr ptr)
@ -153,6 +154,7 @@
@ stdcall SymSearch(long int64 long long str int64 ptr ptr long)
@ stdcall SymSearchW(long int64 long long wstr int64 ptr ptr long)
@ stdcall SymSetContext(long ptr ptr)
@ stdcall SymSetExtendedOption(long long)
@ stdcall SymSetHomeDirectory(long str)
@ stdcall SymSetHomeDirectoryW(long wstr)
@ stdcall SymSetOptions(long)

View File

@ -1424,6 +1424,11 @@ typedef struct _IMAGE_DEBUG_INFORMATION
DWORD Reserved[ 2 ];
} IMAGE_DEBUG_INFORMATION, *PIMAGE_DEBUG_INFORMATION;
typedef enum
{
SYMOPT_EX_DISABLEACCESSTIMEUPDATE,
SYMOPT_EX_MAX
} IMAGEHLP_EXTENDED_OPTIONS;
PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation(HANDLE, PCSTR, PCSTR, ULONG);
@ -1432,6 +1437,9 @@ BOOL WINAPI UnmapDebugInformation(PIMAGE_DEBUG_INFORMATION);
DWORD WINAPI SymGetOptions(void);
DWORD WINAPI SymSetOptions(DWORD);
BOOL WINAPI SymGetExtendedOption(IMAGEHLP_EXTENDED_OPTIONS option);
BOOL WINAPI SymSetExtendedOption(IMAGEHLP_EXTENDED_OPTIONS option, BOOL value);
BOOL WINAPI SymSetParentWindow(HWND);
/*************************