Fix the declaration of SymEnumSymbols() in dbghelp.spec.

Use PVOID instead of void* for consistency.
Update the dbghelp section in win32.api.
oldstable
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 SymEnumSourceFiles(ptr long long str ptr ptr)
@ 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 SymEnumerateModules(long ptr ptr)
@ 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,
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);

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,
PSYM_ENUMSOURCFILES_CALLBACK cbSrcFiles,
void* UserContext)
PVOID UserContext)
{
struct process* pcs;
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,
PSYM_ENUMERATESYMBOLS_CALLBACK EnumSymbolsCallback,
void* UserContext)
PVOID UserContext)
{
struct process* pcs;
struct module* module;

View File

@ -600,11 +600,15 @@ HANDLE
HMODULE
IMAGEHLP_SYMBOL_TYPE_INFO
ULONG
unsigned long
%longlong
DWORD64
ULONG64
%ptr
DWORD *
DWORD64 *
LPAPI_VERSION
LPSTACKFRAME
LPVOID
@ -631,7 +635,7 @@ PSYMBOL_INFO
PTRANSLATE_ADDRESS_ROUTINE
PVOID
char *
void *
char **
%str