ReactOS 0.4.15-dev-6057-gd708c79
initum.c File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <reactos/rossym.h>
#include "rossympriv.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)
 
VOID RosSymInitUserMode (VOID)
 

Function Documentation

◆ RosSymAllocMemUM()

static PVOID RosSymAllocMemUM ( ULONG_PTR  Size)
static

Definition at line 17 of file initum.c.

18{
19 return HeapAlloc(GetProcessHeap(), 0, Size);
20}
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533

Referenced by RosSymInitUserMode().

◆ RosSymFreeMemUM()

static VOID RosSymFreeMemUM ( PVOID  Area)
static

Definition at line 23 of file initum.c.

24{
25 HeapFree(GetProcessHeap(), 0, Area);
26}
#define HeapFree(x, y, z)
Definition: compat.h:735

Referenced by RosSymInitUserMode().

◆ RosSymInitUserMode()

VOID RosSymInitUserMode ( VOID  )

Definition at line 29 of file initum.c.

30{
31 static ROSSYM_CALLBACKS KmCallbacks =
32 {
37 };
38
39 RosSymInit(&KmCallbacks);
40}
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:16
BOOLEAN RosSymZwSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: zwfile.c:32
VOID RosSymInit(PROSSYM_CALLBACKS Callbacks)
Definition: init.c:17