Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenloader.c
Go to the documentation of this file.
00001 /* 00002 * Win32 builtin dlls support 00003 * 00004 * Copyright 2000 Alexandre Julliard 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00019 */ 00020 00021 #include "config.h" 00022 #include "wine/port.h" 00023 00024 #include <assert.h> 00025 #include <ctype.h> 00026 #include <fcntl.h> 00027 #include <limits.h> 00028 #include <stdarg.h> 00029 #include <stdlib.h> 00030 #include <string.h> 00031 #include <sys/types.h> 00032 #ifdef HAVE_SYS_MMAN_H 00033 #include <sys/mman.h> 00034 #endif 00035 #ifdef HAVE_SYS_RESOURCE_H 00036 # include <sys/resource.h> 00037 #endif 00038 #ifdef HAVE_UNISTD_H 00039 # include <unistd.h> 00040 #endif 00041 00042 #define NONAMELESSUNION 00043 #define NONAMELESSSTRUCT 00044 #include "windef.h" 00045 #include "winbase.h" 00046 #include "wine/library.h" 00047 00048 void *wine_dlsym( void *handle, const char *symbol, char *error, size_t errorsize ) 00049 { 00050 return GetProcAddress(handle, symbol); 00051 } 00052 00053 void *wine_dlopen( const char *filename, int flag, char *error, size_t errorsize ) 00054 { 00055 return LoadLibraryA(filename); 00056 } 00057 00058 int wine_dlclose( void *handle, char *error, size_t errorsize ) 00059 { 00060 return FreeLibrary(handle); 00061 } Generated on Sun May 27 2012 04:19:04 for ReactOS by
1.7.6.1
|