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 <windows.h>
00011 #include <reactos/rossym.h>
00012 #include "rossympriv.h"
00013 
00014 #define NDEBUG
00015 #include <debug.h>
00016 
00017 static PVOID
00018 RosSymAllocMemUM(ULONG_PTR Size)
00019 {
00020   return HeapAlloc(GetProcessHeap(), 0, Size);
00021 }
00022 
00023 static VOID
00024 RosSymFreeMemUM(PVOID Area)
00025 {
00026   HeapFree(GetProcessHeap(), 0, Area);
00027 }
00028 
00029 VOID
00030 RosSymInitUserMode(VOID)
00031 {
00032   static ROSSYM_CALLBACKS KmCallbacks =
00033     {
00034       RosSymAllocMemUM,
00035       RosSymFreeMemUM,
00036       RosSymZwReadFile,
00037       RosSymZwSeekFile
00038     };
00039 
00040   RosSymInit(&KmCallbacks);
00041 }
00042 
00043 /* EOF */

Generated on Mon May 28 2012 04:36:11 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.