Commit 7a431fc8 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Added stubs for DbgHelp functions: SymRegisterFunctionEntryCallback.

parent d3c33dc0
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
@ stub SymMatchString @ stub SymMatchString
@ stub SymRegisterCallback64 @ stub SymRegisterCallback64
@ stdcall SymRegisterCallback(long ptr ptr) @ stdcall SymRegisterCallback(long ptr ptr)
@ stub SymRegisterFunctionEntryCallback64 @ stdcall SymRegisterFunctionEntryCallback64(ptr ptr double)
@ stub SymRegisterFunctionEntryCallback @ stdcall SymRegisterFunctionEntryCallback(ptr ptr ptr)
@ stdcall SymSetContext(long ptr ptr) @ stdcall SymSetContext(long ptr ptr)
@ stdcall SymSetOptions(long) @ stdcall SymSetOptions(long)
@ stdcall SymSetParentWindow(long) @ stdcall SymSetParentWindow(long)
......
...@@ -399,3 +399,31 @@ done_err: ...@@ -399,3 +399,31 @@ done_err:
curr_mode = stm_done; curr_mode = stm_done;
return FALSE; return FALSE;
} }
/******************************************************************
* SymRegisterFunctionEntryCallback (DBGHELP.@)
*
*
*/
BOOL WINAPI SymRegisterFunctionEntryCallback(HANDLE hProc,
PSYMBOL_FUNCENTRY_CALLBACK cb, PVOID user)
{
FIXME("(%p %p %p): stub!\n", hProc, cb, user);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/******************************************************************
* SymRegisterFunctionEntryCallback64 (DBGHELP.@)
*
*
*/
BOOL WINAPI SymRegisterFunctionEntryCallback64(HANDLE hProc,
PSYMBOL_FUNCENTRY_CALLBACK64 cb,
ULONG64 user)
{
FIXME("(%p %p %s): stub!\n", hProc, cb, wine_dbgstr_longlong(user));
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
...@@ -842,6 +842,12 @@ BOOL WINAPI StackWalk(DWORD, HANDLE, HANDLE, LPSTACKFRAME, PVOID, ...@@ -842,6 +842,12 @@ BOOL WINAPI StackWalk(DWORD, HANDLE, HANDLE, LPSTACKFRAME, PVOID,
PVOID WINAPI SymFunctionTableAccess(HANDLE, DWORD); PVOID WINAPI SymFunctionTableAccess(HANDLE, DWORD);
typedef PVOID (CALLBACK *PSYMBOL_FUNCENTRY_CALLBACK)(HANDLE, DWORD, PVOID);
typedef PVOID (CALLBACK *PSYMBOL_FUNCENTRY_CALLBACK64)(HANDLE, ULONG64, ULONG64);
BOOL WINAPI SymRegisterFunctionEntryCallback(HANDLE, PSYMBOL_FUNCENTRY_CALLBACK, PVOID);
BOOL WINAPI SymRegisterFunctionEntryCallback64(HANDLE, PSYMBOL_FUNCENTRY_CALLBACK64, ULONG64);
/************************* /*************************
* Version, global stuff * * Version, global stuff *
*************************/ *************************/
......
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