Commit 9a7bc34c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

Compile the imagehlp dll with STRICT defined.

parent 2b7deaa7
EXTRADEFS = -D_IMAGEHLP_SOURCE_ -DWINE_NO_STRICT EXTRADEFS = -D_IMAGEHLP_SOURCE_
TOPSRCDIR = @top_srcdir@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
...@@ -21,4 +21,3 @@ C_SRCS = \ ...@@ -21,4 +21,3 @@ C_SRCS = \
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@
### Dependencies: ### Dependencies:
...@@ -58,7 +58,7 @@ BOOL WINAPI EnumerateLoadedModules( ...@@ -58,7 +58,7 @@ BOOL WINAPI EnumerateLoadedModules(
PENUMLOADED_MODULES_CALLBACK EnumLoadedModulesCallback, PENUMLOADED_MODULES_CALLBACK EnumLoadedModulesCallback,
PVOID UserContext) PVOID UserContext)
{ {
FIXME("(0x%08x, %p, %p): stub\n", FIXME("(%p, %p, %p): stub\n",
hProcess, EnumLoadedModulesCallback, UserContext hProcess, EnumLoadedModulesCallback, UserContext
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -70,7 +70,7 @@ BOOL WINAPI EnumerateLoadedModules( ...@@ -70,7 +70,7 @@ BOOL WINAPI EnumerateLoadedModules(
*/ */
DWORD WINAPI GetTimestampForLoadedLibrary(HMODULE Module) DWORD WINAPI GetTimestampForLoadedLibrary(HMODULE Module)
{ {
FIXME("(0x%08x): stub\n", Module); FIXME("(%p): stub\n", Module);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0; return 0;
} }
......
...@@ -61,7 +61,7 @@ PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation( ...@@ -61,7 +61,7 @@ PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation(
HANDLE FileHandle, LPSTR FileName, HANDLE FileHandle, LPSTR FileName,
LPSTR SymbolPath, DWORD ImageBase) LPSTR SymbolPath, DWORD ImageBase)
{ {
FIXME("(0x%08x, %s, %s, 0x%08lx): stub\n", FIXME("(%p, %s, %s, 0x%08lx): stub\n",
FileHandle, FileName, SymbolPath, ImageBase FileHandle, FileName, SymbolPath, ImageBase
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -80,7 +80,7 @@ BOOL WINAPI StackWalk( ...@@ -80,7 +80,7 @@ BOOL WINAPI StackWalk(
PTRANSLATE_ADDRESS_ROUTINE TranslateAddress) PTRANSLATE_ADDRESS_ROUTINE TranslateAddress)
{ {
FIXME( FIXME(
"(%ld, 0x%08x, 0x%08x, %p, %p, %p, %p, %p, %p): stub\n", "(%ld, %p, %p, %p, %p, %p, %p, %p, %p): stub\n",
MachineType, hProcess, hThread, StackFrame, ContextRecord, MachineType, hProcess, hThread, StackFrame, ContextRecord,
ReadMemoryRoutine, FunctionTableAccessRoutine, ReadMemoryRoutine, FunctionTableAccessRoutine,
GetModuleBaseRoutine, TranslateAddress GetModuleBaseRoutine, TranslateAddress
......
...@@ -117,12 +117,9 @@ BOOL WINAPI SearchTreeForFile( ...@@ -117,12 +117,9 @@ BOOL WINAPI SearchTreeForFile(
BOOL WINAPI TouchFileTimes( BOOL WINAPI TouchFileTimes(
HANDLE FileHandle, LPSYSTEMTIME lpSystemTime) HANDLE FileHandle, LPSYSTEMTIME lpSystemTime)
{ {
FIXME("(0x%08x, %p): stub\n", FIXME("(%p, %p): stub\n",
FileHandle, lpSystemTime FileHandle, lpSystemTime
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
...@@ -33,7 +33,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(imagehlp); ...@@ -33,7 +33,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
BOOL WINAPI ImageAddCertificate( BOOL WINAPI ImageAddCertificate(
HANDLE FileHandle, PWIN_CERTIFICATE Certificate, PDWORD Index) HANDLE FileHandle, PWIN_CERTIFICATE Certificate, PDWORD Index)
{ {
FIXME("(0x%08x, %p, %p): stub\n", FIXME("(%p, %p, %p): stub\n",
FileHandle, Certificate, Index FileHandle, Certificate, Index
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -47,7 +47,7 @@ BOOL WINAPI ImageEnumerateCertificates( ...@@ -47,7 +47,7 @@ BOOL WINAPI ImageEnumerateCertificates(
HANDLE FileHandle, WORD TypeFilter, PDWORD CertificateCount, HANDLE FileHandle, WORD TypeFilter, PDWORD CertificateCount,
PDWORD Indices, DWORD IndexCount) PDWORD Indices, DWORD IndexCount)
{ {
FIXME("(0x%08x, %hd, %p, %p, %ld): stub\n", FIXME("(%p, %hd, %p, %p, %ld): stub\n",
FileHandle, TypeFilter, CertificateCount, Indices, IndexCount FileHandle, TypeFilter, CertificateCount, Indices, IndexCount
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -61,7 +61,7 @@ BOOL WINAPI ImageGetCertificateData( ...@@ -61,7 +61,7 @@ BOOL WINAPI ImageGetCertificateData(
HANDLE FileHandle, DWORD CertificateIndex, HANDLE FileHandle, DWORD CertificateIndex,
PWIN_CERTIFICATE Certificate, PDWORD RequiredLength) PWIN_CERTIFICATE Certificate, PDWORD RequiredLength)
{ {
FIXME("(0x%08x, %ld, %p, %p): stub\n", FIXME("(%p, %ld, %p, %p): stub\n",
FileHandle, CertificateIndex, Certificate, RequiredLength FileHandle, CertificateIndex, Certificate, RequiredLength
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -75,7 +75,7 @@ BOOL WINAPI ImageGetCertificateHeader( ...@@ -75,7 +75,7 @@ BOOL WINAPI ImageGetCertificateHeader(
HANDLE FileHandle, DWORD CertificateIndex, HANDLE FileHandle, DWORD CertificateIndex,
PWIN_CERTIFICATE Certificateheader) PWIN_CERTIFICATE Certificateheader)
{ {
FIXME("(0x%08x, %ld, %p): stub\n", FIXME("(%p, %ld, %p): stub\n",
FileHandle, CertificateIndex, Certificateheader FileHandle, CertificateIndex, Certificateheader
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -89,7 +89,7 @@ BOOL WINAPI ImageGetDigestStream( ...@@ -89,7 +89,7 @@ BOOL WINAPI ImageGetDigestStream(
HANDLE FileHandle, DWORD DigestLevel, HANDLE FileHandle, DWORD DigestLevel,
DIGEST_FUNCTION DigestFunction, DIGEST_HANDLE DigestHandle) DIGEST_FUNCTION DigestFunction, DIGEST_HANDLE DigestHandle)
{ {
FIXME("(0x%08x, %ld, %p, %p): stub\n", FIXME("(%p, %ld, %p, %p): stub\n",
FileHandle, DigestLevel, DigestFunction, DigestHandle FileHandle, DigestLevel, DigestFunction, DigestHandle
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -101,7 +101,7 @@ BOOL WINAPI ImageGetDigestStream( ...@@ -101,7 +101,7 @@ BOOL WINAPI ImageGetDigestStream(
*/ */
BOOL WINAPI ImageRemoveCertificate(HANDLE FileHandle, DWORD Index) BOOL WINAPI ImageRemoveCertificate(HANDLE FileHandle, DWORD Index)
{ {
FIXME("(0x%08x, %ld): stub\n", FileHandle, Index); FIXME("(%p, %ld): stub\n", FileHandle, Index);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
...@@ -31,7 +31,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(imagehlp); ...@@ -31,7 +31,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
*/ */
BOOL WINAPI SymCleanup(HANDLE hProcess) BOOL WINAPI SymCleanup(HANDLE hProcess)
{ {
FIXME("(0x%08x): stub\n", hProcess); FIXME("(%p): stub\n", hProcess);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
...@@ -44,7 +44,7 @@ BOOL WINAPI SymEnumerateModules( ...@@ -44,7 +44,7 @@ BOOL WINAPI SymEnumerateModules(
HANDLE hProcess, PSYM_ENUMMODULES_CALLBACK EnumModulesCallback, HANDLE hProcess, PSYM_ENUMMODULES_CALLBACK EnumModulesCallback,
PVOID UserContext) PVOID UserContext)
{ {
FIXME("(0x%08x, %p, %p): stub\n", FIXME("(%p, %p, %p): stub\n",
hProcess, EnumModulesCallback, UserContext hProcess, EnumModulesCallback, UserContext
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -58,7 +58,7 @@ BOOL WINAPI SymEnumerateSymbols( ...@@ -58,7 +58,7 @@ BOOL WINAPI SymEnumerateSymbols(
HANDLE hProcess, DWORD BaseOfDll, HANDLE hProcess, DWORD BaseOfDll,
PSYM_ENUMSYMBOLS_CALLBACK EnumSymbolsCallback, PVOID UserContext) PSYM_ENUMSYMBOLS_CALLBACK EnumSymbolsCallback, PVOID UserContext)
{ {
FIXME("(0x%08x, 0x%08lx, %p, %p): stub\n", FIXME("(%p, 0x%08lx, %p, %p): stub\n",
hProcess, BaseOfDll, EnumSymbolsCallback, UserContext hProcess, BaseOfDll, EnumSymbolsCallback, UserContext
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -70,7 +70,7 @@ BOOL WINAPI SymEnumerateSymbols( ...@@ -70,7 +70,7 @@ BOOL WINAPI SymEnumerateSymbols(
*/ */
PVOID WINAPI SymFunctionTableAccess(HANDLE hProcess, DWORD AddrBase) PVOID WINAPI SymFunctionTableAccess(HANDLE hProcess, DWORD AddrBase)
{ {
FIXME("(0x%08x, 0x%08lx): stub\n", hProcess, AddrBase); FIXME("(%p, 0x%08lx): stub\n", hProcess, AddrBase);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
...@@ -80,7 +80,7 @@ PVOID WINAPI SymFunctionTableAccess(HANDLE hProcess, DWORD AddrBase) ...@@ -80,7 +80,7 @@ PVOID WINAPI SymFunctionTableAccess(HANDLE hProcess, DWORD AddrBase)
*/ */
DWORD WINAPI SymGetModuleBase(HANDLE hProcess, DWORD dwAddr) DWORD WINAPI SymGetModuleBase(HANDLE hProcess, DWORD dwAddr)
{ {
FIXME("(0x%08x, 0x%08lx): stub\n", hProcess, dwAddr); FIXME("(%p, 0x%08lx): stub\n", hProcess, dwAddr);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0; return 0;
} }
...@@ -92,7 +92,7 @@ BOOL WINAPI SymGetModuleInfo( ...@@ -92,7 +92,7 @@ BOOL WINAPI SymGetModuleInfo(
HANDLE hProcess, DWORD dwAddr, HANDLE hProcess, DWORD dwAddr,
PIMAGEHLP_MODULE ModuleInfo) PIMAGEHLP_MODULE ModuleInfo)
{ {
FIXME("(0x%08x, 0x%08lx, %p): stub\n", FIXME("(%p, 0x%08lx, %p): stub\n",
hProcess, dwAddr, ModuleInfo hProcess, dwAddr, ModuleInfo
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -115,7 +115,7 @@ DWORD WINAPI SymGetOptions() ...@@ -115,7 +115,7 @@ DWORD WINAPI SymGetOptions()
BOOL WINAPI SymGetSearchPath( BOOL WINAPI SymGetSearchPath(
HANDLE hProcess, LPSTR szSearchPath, DWORD SearchPathLength) HANDLE hProcess, LPSTR szSearchPath, DWORD SearchPathLength)
{ {
FIXME("(0x%08x, %s, %ld): stub\n", FIXME("(%p, %s, %ld): stub\n",
hProcess, debugstr_an(szSearchPath,SearchPathLength), SearchPathLength hProcess, debugstr_an(szSearchPath,SearchPathLength), SearchPathLength
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -129,7 +129,7 @@ BOOL WINAPI SymGetSymFromAddr( ...@@ -129,7 +129,7 @@ BOOL WINAPI SymGetSymFromAddr(
HANDLE hProcess, DWORD dwAddr, HANDLE hProcess, DWORD dwAddr,
PDWORD pdwDisplacement, PIMAGEHLP_SYMBOL Symbol) PDWORD pdwDisplacement, PIMAGEHLP_SYMBOL Symbol)
{ {
FIXME("(0x%08x, 0x%08lx, %p, %p): stub\n", FIXME("(%p, 0x%08lx, %p, %p): stub\n",
hProcess, dwAddr, pdwDisplacement, Symbol hProcess, dwAddr, pdwDisplacement, Symbol
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -142,7 +142,7 @@ BOOL WINAPI SymGetSymFromAddr( ...@@ -142,7 +142,7 @@ BOOL WINAPI SymGetSymFromAddr(
BOOL WINAPI SymGetSymFromName( BOOL WINAPI SymGetSymFromName(
HANDLE hProcess, LPSTR Name, PIMAGEHLP_SYMBOL Symbol) HANDLE hProcess, LPSTR Name, PIMAGEHLP_SYMBOL Symbol)
{ {
FIXME("(0x%08x, %s, %p): stub\n", hProcess, Name, Symbol); FIXME("(%p, %s, %p): stub\n", hProcess, Name, Symbol);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
...@@ -153,7 +153,7 @@ BOOL WINAPI SymGetSymFromName( ...@@ -153,7 +153,7 @@ BOOL WINAPI SymGetSymFromName(
BOOL WINAPI SymGetSymNext( BOOL WINAPI SymGetSymNext(
HANDLE hProcess, PIMAGEHLP_SYMBOL Symbol) HANDLE hProcess, PIMAGEHLP_SYMBOL Symbol)
{ {
FIXME("(0x%08x, %p): stub\n", hProcess, Symbol); FIXME("(%p, %p): stub\n", hProcess, Symbol);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
...@@ -165,7 +165,7 @@ BOOL WINAPI SymGetSymNext( ...@@ -165,7 +165,7 @@ BOOL WINAPI SymGetSymNext(
BOOL WINAPI SymGetSymPrev( BOOL WINAPI SymGetSymPrev(
HANDLE hProcess, PIMAGEHLP_SYMBOL Symbol) HANDLE hProcess, PIMAGEHLP_SYMBOL Symbol)
{ {
FIXME("(0x%08x, %p): stub\n", hProcess, Symbol); FIXME("(%p, %p): stub\n", hProcess, Symbol);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
...@@ -176,7 +176,7 @@ BOOL WINAPI SymGetSymPrev( ...@@ -176,7 +176,7 @@ BOOL WINAPI SymGetSymPrev(
BOOL WINAPI SymInitialize( BOOL WINAPI SymInitialize(
HANDLE hProcess, LPSTR UserSearchPath, BOOL fInvadeProcess) HANDLE hProcess, LPSTR UserSearchPath, BOOL fInvadeProcess)
{ {
FIXME("(0x%08x, %s, %d): stub\n", FIXME("(%p, %s, %d): stub\n",
hProcess, debugstr_a(UserSearchPath), fInvadeProcess hProcess, debugstr_a(UserSearchPath), fInvadeProcess
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -191,7 +191,7 @@ BOOL WINAPI SymLoadModule( ...@@ -191,7 +191,7 @@ BOOL WINAPI SymLoadModule(
HANDLE hProcess, HANDLE hFile, LPSTR ImageName, LPSTR ModuleName, HANDLE hProcess, HANDLE hFile, LPSTR ImageName, LPSTR ModuleName,
DWORD BaseOfDll, DWORD SizeOfDll) DWORD BaseOfDll, DWORD SizeOfDll)
{ {
FIXME("(0x%08x, 0x%08x, %s, %s, %ld, %ld): stub\n", FIXME("(%p, %p, %s, %s, %ld, %ld): stub\n",
hProcess, hFile, debugstr_a(ImageName), debugstr_a(ModuleName), hProcess, hFile, debugstr_a(ImageName), debugstr_a(ModuleName),
BaseOfDll, SizeOfDll BaseOfDll, SizeOfDll
); );
...@@ -206,7 +206,7 @@ BOOL WINAPI SymRegisterCallback( ...@@ -206,7 +206,7 @@ BOOL WINAPI SymRegisterCallback(
HANDLE hProcess, PSYMBOL_REGISTERED_CALLBACK CallbackFunction, HANDLE hProcess, PSYMBOL_REGISTERED_CALLBACK CallbackFunction,
PVOID UserContext) PVOID UserContext)
{ {
FIXME("(0x%08x, %p, %p): stub\n", FIXME("(%p, %p, %p): stub\n",
hProcess, CallbackFunction, UserContext hProcess, CallbackFunction, UserContext
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -228,7 +228,7 @@ DWORD WINAPI SymSetOptions(DWORD SymOptions) ...@@ -228,7 +228,7 @@ DWORD WINAPI SymSetOptions(DWORD SymOptions)
*/ */
BOOL WINAPI SymSetSearchPath(HANDLE hProcess, LPSTR szSearchPath) BOOL WINAPI SymSetSearchPath(HANDLE hProcess, LPSTR szSearchPath)
{ {
FIXME("(0x%08x, %s): stub\n", FIXME("(%p, %s): stub\n",
hProcess, debugstr_a(szSearchPath) hProcess, debugstr_a(szSearchPath)
); );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
...@@ -254,7 +254,7 @@ BOOL WINAPI SymUnDName( ...@@ -254,7 +254,7 @@ BOOL WINAPI SymUnDName(
BOOL WINAPI SymUnloadModule( BOOL WINAPI SymUnloadModule(
HANDLE hProcess, DWORD BaseOfDll) HANDLE hProcess, DWORD BaseOfDll)
{ {
FIXME("(0x%08x, 0x%08lx): stub\n", hProcess, BaseOfDll); FIXME("(%p, 0x%08lx): stub\n", hProcess, BaseOfDll);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
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