diff --git a/platform/win32/loader/dll-loader.h b/platform/win32/loader/dll-loader.h index e546816f3..8ceabf9d7 100644 --- a/platform/win32/loader/dll-loader.h +++ b/platform/win32/loader/dll-loader.h @@ -30,11 +30,16 @@ * * Author: Oliver Schmidt * - * $Id: dll-loader.h,v 1.1 2006/08/13 16:49:43 oliverschmidt Exp $ + * $Id: dll-loader.h,v 1.2 2006/08/14 23:46:43 oliverschmidt Exp $ */ #ifndef __DLL_LOADER_H__ #define __DLL_LOADER_H__ +#define LOADER_LOAD(name, arg) dll_loader_load(name, arg); +#define LOADER_UNLOAD() dll_loader_unload((void *)process_load) +#define LOADER_LOAD_DSC(name) dll_loader_load_dsc(name) +#define LOADER_UNLOAD_DSC(dsc) dll_loader_unload_dsc(dsc) + CCI int dll_loader_load(char *name, char *arg); CCI void dll_loader_unload(void *addr); CCI struct dsc *dll_loader_load_dsc(char *name);