71910108d1a784ff4d4918fa86e531cd257bf15b
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/msvcrt/process/dll.c
5 * PURPOSE: Dll support routines
6 * PROGRAMER: Boudewijn Dekker
17 intptr_t _loaddll(char* name
)
19 return (intptr_t) LoadLibraryA(name
);
25 int _unloaddll(intptr_t handle
)
27 return FreeLibrary((HMODULE
) handle
);
33 FARPROC
_getdllprocaddr(intptr_t hModule
, char* lpProcName
, intptr_t iOrdinal
)
35 if (lpProcName
!= NULL
)
36 return GetProcAddress((HMODULE
) hModule
, lpProcName
);
38 return GetProcAddress((HMODULE
) hModule
, (LPSTR
)iOrdinal
);