Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
65424dc3
Commit
65424dc3
authored
Feb 04, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Added wine_dll_enum_load_path function to allow querying the dll path.
parent
45269979
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
0 deletions
+15
-0
library.h
include/wine/library.h
+1
-0
loader.c
libs/wine/loader.c
+12
-0
wine.def
libs/wine/wine.def
+1
-0
wine.map
libs/wine/wine.map
+1
-0
No files found.
include/wine/library.h
View file @
65424dc3
...
...
@@ -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
;
...
...
libs/wine/loader.c
View file @
65424dc3
...
...
@@ -492,6 +492,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
*
* Retrieve the name of the 32-bit owner dll for a 16-bit dll.
...
...
libs/wine/wine.def
View file @
65424dc3
...
...
@@ -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
...
...
libs/wine/wine.map
View file @
65424dc3
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment