Fix the declaration of SymEnumSymbols() in dbghelp.spec.
Use PVOID instead of void* for consistency. Update the dbghelp section in win32.api.
This commit is contained in:
parent
13acf0624f
commit
9c3246803b
|
@ -28,7 +28,7 @@
|
||||||
@ stdcall SymCleanup(long)
|
@ stdcall SymCleanup(long)
|
||||||
@ stdcall SymEnumSourceFiles(ptr long long str ptr ptr)
|
@ stdcall SymEnumSourceFiles(ptr long long str ptr ptr)
|
||||||
@ stub SymEnumSym
|
@ stub SymEnumSym
|
||||||
@ stdcall SymEnumSymbols(long long str ptr ptr)
|
@ stdcall SymEnumSymbols(ptr long long str ptr ptr)
|
||||||
@ stdcall SymEnumTypes(ptr long long ptr ptr)
|
@ stdcall SymEnumTypes(ptr long long ptr ptr)
|
||||||
@ stdcall SymEnumerateModules(long ptr ptr)
|
@ stdcall SymEnumerateModules(long ptr ptr)
|
||||||
@ stub SymEnumerateModules64
|
@ stub SymEnumerateModules64
|
||||||
|
|
|
@ -191,7 +191,7 @@ BOOL WINAPI SearchTreeForFile(LPSTR root, LPSTR file, LPSTR buffer)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI EnumDirTree(HANDLE hProcess, PCSTR root, PCSTR file,
|
BOOL WINAPI EnumDirTree(HANDLE hProcess, PCSTR root, PCSTR file,
|
||||||
LPSTR buffer, PENUMDIRTREE_CALLBACK cb, void* user)
|
LPSTR buffer, PENUMDIRTREE_CALLBACK cb, PVOID user)
|
||||||
{
|
{
|
||||||
TRACE("(%p %s %s %p %p %p)\n", hProcess, root, file, buffer, cb, user);
|
TRACE("(%p %s %s %p %p %p)\n", hProcess, root, file, buffer, cb, user);
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ const char* source_get(const struct module* module, unsigned idx)
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI SymEnumSourceFiles(HANDLE hProcess, ULONG64 ModBase, LPSTR Mask,
|
BOOL WINAPI SymEnumSourceFiles(HANDLE hProcess, ULONG64 ModBase, LPSTR Mask,
|
||||||
PSYM_ENUMSOURCFILES_CALLBACK cbSrcFiles,
|
PSYM_ENUMSOURCFILES_CALLBACK cbSrcFiles,
|
||||||
void* UserContext)
|
PVOID UserContext)
|
||||||
{
|
{
|
||||||
struct process* pcs;
|
struct process* pcs;
|
||||||
struct module* module;
|
struct module* module;
|
||||||
|
|
|
@ -361,7 +361,7 @@ struct symt_typedef* symt_new_typedef(struct module* module, struct symt* ref,
|
||||||
*/
|
*/
|
||||||
BOOL WINAPI SymEnumTypes(HANDLE hProcess, ULONG64 BaseOfDll,
|
BOOL WINAPI SymEnumTypes(HANDLE hProcess, ULONG64 BaseOfDll,
|
||||||
PSYM_ENUMERATESYMBOLS_CALLBACK EnumSymbolsCallback,
|
PSYM_ENUMERATESYMBOLS_CALLBACK EnumSymbolsCallback,
|
||||||
void* UserContext)
|
PVOID UserContext)
|
||||||
{
|
{
|
||||||
struct process* pcs;
|
struct process* pcs;
|
||||||
struct module* module;
|
struct module* module;
|
||||||
|
|
|
@ -600,11 +600,15 @@ HANDLE
|
||||||
HMODULE
|
HMODULE
|
||||||
IMAGEHLP_SYMBOL_TYPE_INFO
|
IMAGEHLP_SYMBOL_TYPE_INFO
|
||||||
ULONG
|
ULONG
|
||||||
unsigned long
|
|
||||||
|
%longlong
|
||||||
|
|
||||||
|
DWORD64
|
||||||
|
ULONG64
|
||||||
|
|
||||||
%ptr
|
%ptr
|
||||||
|
|
||||||
DWORD *
|
DWORD64 *
|
||||||
LPAPI_VERSION
|
LPAPI_VERSION
|
||||||
LPSTACKFRAME
|
LPSTACKFRAME
|
||||||
LPVOID
|
LPVOID
|
||||||
|
@ -631,7 +635,7 @@ PSYMBOL_INFO
|
||||||
PTRANSLATE_ADDRESS_ROUTINE
|
PTRANSLATE_ADDRESS_ROUTINE
|
||||||
PVOID
|
PVOID
|
||||||
char *
|
char *
|
||||||
void *
|
char **
|
||||||
|
|
||||||
%str
|
%str
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue