ReactOS 0.4.16-dev-109-gf4cb10f
initum.c File Reference
#include <precomp.h>
Include dependency graph for initum.c:

Go to the source code of this file.

Functions

static PVOID RosSymAllocMemUM (ULONG_PTR Size)
 
static VOID RosSymFreeMemUM (PVOID Area)
 
static BOOLEAN RosSymGetMemUM (PVOID FileContext, ULONG_PTR *Target, PVOID SourceMem, ULONG Size)
 
VOID RosSymInitUserMode (VOID)
 

Function Documentation

◆ RosSymAllocMemUM()

static PVOID RosSymAllocMemUM ( ULONG_PTR  Size)
static

Definition at line 13 of file initum.c.

14{
15 return RtlAllocateHeap(RtlGetProcessHeap(), 0, Size);
16}
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
Definition: heap.c:590
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533

◆ RosSymFreeMemUM()

static VOID RosSymFreeMemUM ( PVOID  Area)
static

Definition at line 19 of file initum.c.

20{
21 RtlFreeHeap(RtlGetProcessHeap(), 0, Area);
22}
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
Definition: heap.c:608

◆ RosSymGetMemUM()

static BOOLEAN RosSymGetMemUM ( PVOID  FileContext,
ULONG_PTR Target,
PVOID  SourceMem,
ULONG  Size 
)
static

Definition at line 25 of file initum.c.

26{
27 return FALSE;
28}
#define FALSE
Definition: types.h:117

Referenced by RosSymInitUserMode().

◆ RosSymInitUserMode()

VOID RosSymInitUserMode ( VOID  )

Definition at line 31 of file initum.c.

32{
33 static ROSSYM_CALLBACKS KmCallbacks =
34 {
40 };
41
42 RosSymInit(&KmCallbacks);
43}
static PVOID RosSymAllocMemUM(ULONG_PTR Size)
Definition: initum.c:17
static VOID RosSymFreeMemUM(PVOID Area)
Definition: initum.c:23
BOOLEAN RosSymZwReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: zwfile.c:15
BOOLEAN RosSymZwSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: zwfile.c:31
VOID RosSymInit(PROSSYM_CALLBACKS Callbacks)
Definition: init.c:17
static BOOLEAN RosSymGetMemUM(PVOID FileContext, ULONG_PTR *Target, PVOID SourceMem, ULONG Size)
Definition: initum.c:25