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:
Francois Gouget 2004-10-21 19:57:56 +00:00 committed by Alexandre Julliard
parent 13acf0624f
commit 9c3246803b
5 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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