ReactOS 0.4.15-dev-7958-gcd0bb1a
image.c
Go to the documentation of this file.
1/*
2 * File image.c - managing images
3 *
4 * Copyright (C) 2004, Eric Pouech
5 *
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.
10 *
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.
15 *
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
19 */
20
21#include <stdlib.h>
22#include <stdio.h>
23#include <string.h>
24
25#include "dbghelp_private.h"
26#include "winternl.h"
27#include "wine/debug.h"
28
30
31/***********************************************************************
32 * GetTimestampForLoadedLibrary (DBGHELP.@)
33 */
35{
37 return (nth) ? nth->FileHeader.TimeDateStamp : 0;
38}
39
40/***********************************************************************
41 * MapDebugInformation (DBGHELP.@)
42 */
44 PCSTR SymbolPath, ULONG ImageBase)
45{
46 FIXME("(%p, %s, %s, 0x%08x): stub\n", FileHandle, FileName, SymbolPath, ImageBase);
48 return NULL;
49}
50
51/***********************************************************************
52 * UnmapDebugInformation (DBGHELP.@)
53 */
55{
56 FIXME("(%p): stub\n", DebugInfo);
58 return FALSE;
59}
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
Definition: precomp.h:23
#define FIXME(fmt,...)
Definition: debug.h:111
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define SetLastError(x)
Definition: compat.h:752
#define RtlImageNtHeader
Definition: compat.h:806
PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation(HANDLE FileHandle, PCSTR FileName, PCSTR SymbolPath, ULONG ImageBase)
Definition: image.c:43
BOOL WINAPI UnmapDebugInformation(PIMAGE_DEBUG_INFORMATION DebugInfo)
Definition: image.c:54
DWORD WINAPI GetTimestampForLoadedLibrary(HMODULE Module)
Definition: image.c:34
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
Definition: fltkernel.h:1231
static const char const char const char * SymbolPath
Definition: image.c:35
IMAGE_FILE_HEADER FileHeader
Definition: ntddk_ex.h:183
const char * PCSTR
Definition: typedefs.h:52
uint32_t ULONG
Definition: typedefs.h:59
#define WINAPI
Definition: msvc.h:6