ReactOS  0.4.15-dev-3173-g40ee59d
RtlImageDirectoryEntryToData.c File Reference
#include "precomp.h"
Include dependency graph for RtlImageDirectoryEntryToData.c:

Go to the source code of this file.

Functions

 START_TEST (RtlImageDirectoryEntryToData)
 

Variables

static unsigned char dll_32 [1536]
 
static unsigned char dll_64 [2048]
 

Function Documentation

◆ START_TEST()

START_TEST ( RtlImageDirectoryEntryToData  )

Definition at line 157 of file RtlImageDirectoryEntryToData.c.

158 {
159  PVOID Ptr;
160  const BOOLEAN MappedAsImage = FALSE;
161  ULONG Size = 0x123;
162 
164  ok_ptr(Ptr, dll_32 + 0x400);
165  ok_int(Size, 0x128);
166 
167  Size = 0x123;
169  ok_ptr(Ptr, dll_64 + 0x400);
170  ok_int(Size, 0x124);
171 }
static unsigned char dll_64[2048]
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define ok_ptr(expression, result)
Definition: atltest.h:108
#define FALSE
Definition: types.h:117
_In_ BOOLEAN MappedAsImage
Definition: rtlfuncs.h:3885
unsigned char BOOLEAN
#define ok_int(expression, result)
Definition: atltest.h:134
#define RtlImageDirectoryEntryToData
Definition: compat.h:668
#define IMAGE_DIRECTORY_ENTRY_EXPORT
Definition: compat.h:151
unsigned int ULONG
Definition: retypes.h:1
static unsigned char dll_32[1536]

Variable Documentation

◆ dll_32

unsigned char dll_32[1536]
static

Definition at line 20 of file RtlImageDirectoryEntryToData.c.

Referenced by START_TEST().

◆ dll_64

unsigned char dll_64[2048]
static

Definition at line 88 of file RtlImageDirectoryEntryToData.c.

Referenced by START_TEST().