ReactOS  0.4.15-dev-3453-gff89651
initum.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS kernel
4  * FILE: lib/rossym/initum.c
5  * PURPOSE: Initialize library for use in user mode
6  *
7  * PROGRAMMERS: Ge van Geldorp (gvg@reactos.com)
8  */
9 
10 #include <precomp.h>
11 
12 static PVOID
14 {
15  return RtlAllocateHeap(RtlGetProcessHeap(), 0, Size);
16 }
17 
18 static VOID
20 {
21  RtlFreeHeap(RtlGetProcessHeap(), 0, Area);
22 }
23 
24 static BOOLEAN
26 {
27  return FALSE;
28 }
29 
30 VOID
32 {
33  static ROSSYM_CALLBACKS KmCallbacks =
34  {
40  };
41 
42  RosSymInit(&KmCallbacks);
43 }
44 
45 /* EOF */
static VOID RosSymFreeMemUM(PVOID Area)
Definition: initum.c:19
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
Definition: heap.c:606
BOOLEAN RosSymZwReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: zwfile.c:16
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
BOOLEAN RosSymZwSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: zwfile.c:32
uint32_t ULONG_PTR
Definition: typedefs.h:65
#define FALSE
Definition: types.h:117
unsigned char BOOLEAN
_In_ PFCB _In_ PCD_NAME _In_ BOOLEAN _Inout_ PFILE_ENUM_CONTEXT FileContext
Definition: cdprocs.h:439
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
Definition: heap.c:588
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
_In_ WDFIOTARGET Target
Definition: wdfrequest.h:306
unsigned int ULONG
Definition: retypes.h:1
VOID RosSymInitUserMode(VOID)
Definition: initum.c:29
static PVOID RosSymAllocMemUM(ULONG_PTR Size)
Definition: initum.c:13