ReactOS 0.4.15-dev-7924-g5949c20
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;
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}
unsigned char BOOLEAN
static unsigned char dll_64[2048]
static unsigned char dll_32[1536]
#define ok_int(expression, result)
Definition: atltest.h:134
#define ok_ptr(expression, result)
Definition: atltest.h:108
#define FALSE
Definition: types.h:117
#define IMAGE_DIRECTORY_ENTRY_EXPORT
Definition: compat.h:151
#define RtlImageDirectoryEntryToData
Definition: compat.h:809
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
_In_ BOOLEAN MappedAsImage
Definition: rtlfuncs.h:3938
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533

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().