Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygeninitum.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
1.7.6.1
|