mirror of
https://github.com/reactos/wine.git
synced 2025-02-22 22:01:51 +00:00
libwine: Added wine_dll_enum_load_path function to allow querying the dll path.
This commit is contained in:
parent
4526997960
commit
65424dc3a8
@ -47,6 +47,7 @@ extern void *wine_dll_load( const char *filename, char *error, int errorsize, in
|
||||
extern void *wine_dll_load_main_exe( const char *name, char *error, int errorsize,
|
||||
int test_only, int *file_exists );
|
||||
extern void wine_dll_unload( void *handle );
|
||||
extern const char *wine_dll_enum_load_path( unsigned int index );
|
||||
extern int wine_dll_get_owner( const char *name, char *buffer, int size, int *file_exists );
|
||||
|
||||
extern int __wine_main_argc;
|
||||
|
@ -491,6 +491,18 @@ void *wine_dll_load_main_exe( const char *name, char *error, int errorsize,
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* wine_dll_enum_load_path
|
||||
*
|
||||
* Enumerate the dll load path.
|
||||
*/
|
||||
const char *wine_dll_enum_load_path( unsigned int index )
|
||||
{
|
||||
if (index >= nb_dll_paths) return NULL;
|
||||
return dll_paths[index];
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* wine_dll_get_owner
|
||||
*
|
||||
|
@ -16,6 +16,7 @@ EXPORTS
|
||||
wine_dbgstr_an
|
||||
wine_dbgstr_wn
|
||||
wine_dlclose
|
||||
wine_dll_enum_load_path;
|
||||
wine_dll_get_owner
|
||||
wine_dll_load
|
||||
wine_dll_load_main_exe
|
||||
|
@ -16,6 +16,7 @@ WINE_1.0
|
||||
wine_dbgstr_an;
|
||||
wine_dbgstr_wn;
|
||||
wine_dlclose;
|
||||
wine_dll_enum_load_path;
|
||||
wine_dll_get_owner;
|
||||
wine_dll_load;
|
||||
wine_dll_load_main_exe;
|
||||
|
Loading…
x
Reference in New Issue
Block a user