mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:12:59 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
45
sdk/lib/rossym_new/initum.c
Normal file
45
sdk/lib/rossym_new/initum.c
Normal file
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: lib/rossym/initum.c
|
||||
* PURPOSE: Initialize library for use in user mode
|
||||
*
|
||||
* PROGRAMMERS: Ge van Geldorp (gvg@reactos.com)
|
||||
*/
|
||||
|
||||
#include <precomp.h>
|
||||
|
||||
static PVOID
|
||||
RosSymAllocMemUM(ULONG_PTR Size)
|
||||
{
|
||||
return RtlAllocateHeap(RtlGetProcessHeap(), 0, Size);
|
||||
}
|
||||
|
||||
static VOID
|
||||
RosSymFreeMemUM(PVOID Area)
|
||||
{
|
||||
RtlFreeHeap(RtlGetProcessHeap(), 0, Area);
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
RosSymGetMemUM(PVOID FileContext, ULONG_PTR *Target, PVOID SourceMem, ULONG Size)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
VOID
|
||||
RosSymInitUserMode(VOID)
|
||||
{
|
||||
static ROSSYM_CALLBACKS KmCallbacks =
|
||||
{
|
||||
RosSymAllocMemUM,
|
||||
RosSymFreeMemUM,
|
||||
RosSymZwReadFile,
|
||||
RosSymZwSeekFile,
|
||||
RosSymGetMemUM
|
||||
};
|
||||
|
||||
RosSymInit(&KmCallbacks);
|
||||
}
|
||||
|
||||
/* EOF */
|
Loading…
Add table
Add a link
Reference in a new issue