ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

initum.c
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         ReactOS kernel
00004  * FILE:            lib/rossym/initum.c
00005  * PURPOSE:         Initialize library for use in user mode
00006  *
00007  * PROGRAMMERS:     Ge van Geldorp (gvg@reactos.com)
00008  */
00009 
00010 #include <precomp.h>
00011 
00012 static PVOID
00013 RosSymAllocMemUM(ULONG_PTR Size)
00014 {
00015   return RtlAllocateHeap(RtlGetProcessHeap(), 0, Size);
00016 }
00017 
00018 static VOID
00019 RosSymFreeMemUM(PVOID Area)
00020 {
00021   RtlFreeHeap(RtlGetProcessHeap(), 0, Area);
00022 }
00023 
00024 static BOOLEAN
00025 RosSymGetMemUM(PVOID FileContext, ULONG_PTR *Target, PVOID SourceMem, ULONG Size)
00026 {
00027   return FALSE;
00028 }
00029 
00030 VOID
00031 RosSymInitUserMode(VOID)
00032 {
00033   static ROSSYM_CALLBACKS KmCallbacks =
00034     {
00035       RosSymAllocMemUM,
00036       RosSymFreeMemUM,
00037       RosSymZwReadFile,
00038       RosSymZwSeekFile,
00039       RosSymGetMemUM
00040     };
00041 
00042   RosSymInit(&KmCallbacks);
00043 }
00044 
00045 /* EOF */

Generated on Fri May 25 2012 04:34:49 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.