Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendll.c
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS system libraries 00004 * FILE: lib/msvcrt/process/dll.c 00005 * PURPOSE: Dll support routines 00006 * PROGRAMER: Ariadne 00007 * UPDATE HISTORY: 00008 * 04/03/99: Created 00009 */ 00010 00011 #include <precomp.h> 00012 00013 /* 00014 * @implemented 00015 */ 00016 intptr_t _loaddll(char* name) 00017 { 00018 return (intptr_t) LoadLibraryA(name); 00019 } 00020 00021 /* 00022 * @implemented 00023 */ 00024 int _unloaddll(intptr_t handle) 00025 { 00026 return FreeLibrary((HMODULE) handle); 00027 } 00028 00029 /* 00030 * @implemented 00031 */ 00032 FARPROC _getdllprocaddr(intptr_t hModule, char* lpProcName, intptr_t iOrdinal) 00033 { 00034 if (lpProcName != NULL) 00035 return GetProcAddress((HMODULE) hModule, lpProcName); 00036 else 00037 return GetProcAddress((HMODULE) hModule, (LPSTR)iOrdinal); 00038 return (NULL); 00039 } Generated on Sat May 26 2012 04:27:14 for ReactOS by
1.7.6.1
|