ReactOS  0.4.15-dev-1171-gab82533
image.c File Reference
#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 34 of file image.c.

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

◆ MapDebugInformation()

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

Definition at line 43 of file image.c.

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

◆ UnmapDebugInformation()

BOOL WINAPI UnmapDebugInformation ( PIMAGE_DEBUG_INFORMATION  DebugInfo)

Definition at line 54 of file image.c.

55 {
56  FIXME("(%p): stub\n", DebugInfo);
58  return FALSE;
59 }
#define FALSE
Definition: types.h:117
#define FIXME(fmt,...)
Definition: debug.h:111
#define SetLastError(x)
Definition: compat.h:500
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( dbghelp  )