rpcrt4/tests: Replace || by |.
[wine/multimedia.git] / dlls / dbghelp / image.c
blob71840044d94deb0aa62fd740f3dd06a2dc89bdf2
1 /*
2 * File image.c - managing images
4 * Copyright (C) 2004, Eric Pouech
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include "config.h"
22 #include <stdlib.h>
23 #include <stdio.h>
24 #include <string.h>
26 #include "dbghelp_private.h"
27 #include "winreg.h"
28 #include "winternl.h"
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
33 /***********************************************************************
34 * GetTimestampForLoadedLibrary (DBGHELP.@)
36 DWORD WINAPI GetTimestampForLoadedLibrary(HMODULE Module)
38 IMAGE_NT_HEADERS* nth = RtlImageNtHeader(Module);
39 return (nth) ? nth->FileHeader.TimeDateStamp : 0;
42 /***********************************************************************
43 * MapDebugInformation (DBGHELP.@)
45 PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation(HANDLE FileHandle, LPSTR FileName,
46 LPSTR SymbolPath, DWORD ImageBase)
48 FIXME("(%p, %s, %s, 0x%08lx): stub\n", FileHandle, FileName, SymbolPath, ImageBase);
49 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
50 return NULL;
53 /***********************************************************************
54 * UnmapDebugInformation (DBGHELP.@)
56 BOOL WINAPI UnmapDebugInformation(PIMAGE_DEBUG_INFORMATION DebugInfo)
58 FIXME("(%p): stub\n", DebugInfo);
59 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
60 return FALSE;