ReactOS  0.4.14-dev-98-gb0d4763
image.c File Reference
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "dbghelp_private.h"
#include "winternl.h"
#include "wine/debug.h"
Include dependency graph for image.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (dbghelp)
 
DWORD WINAPI GetTimestampForLoadedLibrary (HMODULE Module)
 
PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation (HANDLE FileHandle, PCSTR FileName, PCSTR SymbolPath, ULONG ImageBase)
 
BOOL WINAPI UnmapDebugInformation (PIMAGE_DEBUG_INFORMATION DebugInfo)
 

Function Documentation

◆ GetTimestampForLoadedLibrary()

DWORD WINAPI GetTimestampForLoadedLibrary ( HMODULE  Module)

Definition at line 35 of file image.c.

36 {
37  IMAGE_NT_HEADERS* nth = RtlImageNtHeader(Module);
38  return (nth) ? nth->FileHeader.TimeDateStamp : 0;
39 }
IMAGE_FILE_HEADER FileHeader
Definition: ntddk_ex.h:183
PIMAGE_NT_HEADERS NTAPI RtlImageNtHeader(IN PVOID Base)
Definition: image.c:256

◆ MapDebugInformation()

PIMAGE_DEBUG_INFORMATION WINAPI MapDebugInformation ( HANDLE  FileHandle,
PCSTR  FileName,
PCSTR  SymbolPath,
ULONG  ImageBase 
)

Definition at line 44 of file image.c.

46 {
47  FIXME("(%p, %s, %s, 0x%08x): stub\n", FileHandle, FileName, SymbolPath, ImageBase);
49  return NULL;
50 }
HANDLE FileHandle
Definition: stats.c:38
static const char const char const char * SymbolPath
Definition: image.c:34
#define FIXME(fmt,...)
Definition: debug.h:110
smooth NULL
Definition: ftsmooth.c:416
#define SetLastError(x)
Definition: compat.h:409
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ UnmapDebugInformation()

BOOL WINAPI UnmapDebugInformation ( PIMAGE_DEBUG_INFORMATION  DebugInfo)

Definition at line 55 of file image.c.

56 {
57  FIXME("(%p): stub\n", DebugInfo);
59  return FALSE;
60 }
#define FIXME(fmt,...)
Definition: debug.h:110
#define SetLastError(x)
Definition: compat.h:409
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:92

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( dbghelp  )