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
a739a69c
Commit
a739a69c
authored
Apr 25, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Apr 25, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use DllOverrides from wine.ini as defaults also in
loadorder.c (merged in some MM dlls lines from Eric Poeuch).
parent
96c142b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
loadorder.c
loader/loadorder.c
+37
-0
No files found.
loader/loadorder.c
View file @
a739a69c
...
...
@@ -30,6 +30,33 @@ static module_loadorder_t *module_loadorder = NULL;
static
int
nmodule_loadorder
=
0
;
static
int
nmodule_loadorder_alloc
=
0
;
static
struct
tagDllOverride
{
char
*
key
,
*
value
;
}
DefaultDllOverrides
[]
=
{
{
"kernel32,gdi32,user32"
,
"builtin"
},
{
"kernel,gdi,user"
,
"builtin"
},
{
"toolhelp"
,
"builtin"
},
{
"comdlg32,commdlg"
,
"elfdll,builtin,native"
},
{
"version,ver"
,
"elfdll,builtin,native"
},
{
"shell32,shell"
,
"builtin,native"
},
{
"lz32,lzexpand"
,
"builtin,native"
},
{
"commctrl,comctl32"
,
"builtin,native"
},
{
"wsock32,winsock"
,
"builtin"
},
{
"advapi32,crtdll,ntdll"
,
"builtin,native"
},
{
"mpr,winspool"
,
"builtin,native"
},
{
"ddraw,dinput,dsound"
,
"builtin,native"
},
{
"winmm, mmsystem"
,
"builtin"
},
{
"msvideo, msvfw32"
,
"builtin, native"
},
{
"mcicda.drv, mciseq.drv"
,
"builtin, native"
},
{
"mciwave.drv"
,
"builtin, native"
},
{
"mciavi.drv, mcianim.drv"
,
"native, builtin"
},
{
"w32skrnl"
,
"builtin"
},
{
"wnaspi32,wow32"
,
"builtin"
},
{
"system,display,wprocs "
,
"builtin"
},
{
"wineps"
,
"builtin"
},
{
NULL
,
NULL
},
};
/***************************************************************************
* cmp_sort_func (internal, static)
*
...
...
@@ -358,6 +385,16 @@ BOOL MODULE_InitLoadOrder(void)
return
FALSE
;
default_loadorder
.
modulename
=
"<none>"
;
{
int
i
;
for
(
i
=
0
;
DefaultDllOverrides
[
i
].
key
;
i
++
)
AddLoadOrderSet
(
DefaultDllOverrides
[
i
].
key
,
DefaultDllOverrides
[
i
].
value
,
FALSE
);
}
/* Read the explicitely defined orders for specific modules as an entire section */
nbuffer
=
PROFILE_GetWineIniString
(
"DllOverrides"
,
NULL
,
""
,
buffer
,
sizeof
(
buffer
));
if
(
nbuffer
==
BUFFERSIZE
-
2
)
...
...
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