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
1cb92bbe
Commit
1cb92bbe
authored
Sep 27, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Converted the load order code to use Unicode throughout.
parent
30784603
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
ne_module.c
dlls/kernel/ne_module.c
+1
-1
process.c
dlls/kernel/process.c
+2
-2
loader.c
dlls/ntdll/loader.c
+1
-1
loadorder.c
dlls/ntdll/loadorder.c
+0
-0
module.h
include/module.h
+4
-2
No files found.
dlls/kernel/ne_module.c
View file @
1cb92bbe
...
...
@@ -1212,7 +1212,7 @@ static HINSTANCE16 MODULE_LoadModule16( LPCSTR libname, BOOL implicit, BOOL lib_
if
((
p
=
strrchrW
(
buffer
,
'\\'
)))
p
++
;
else
p
=
buffer
;
}
MODULE_GetLoadOrder
(
loadorder
,
p
,
basename
,
FALSE
);
MODULE_GetLoadOrder
A
(
loadorder
,
p
,
basename
,
FALSE
);
}
for
(
i
=
0
;
i
<
LOADORDER_NTYPES
;
i
++
)
...
...
dlls/kernel/process.c
View file @
1cb92bbe
...
...
@@ -185,7 +185,7 @@ static HANDLE open_exe_file( const char *name )
name
=
buffer
;
}
MODULE_GetLoadOrder
(
loadorder
,
NULL
,
name
,
TRUE
);
MODULE_GetLoadOrder
A
(
loadorder
,
NULL
,
name
,
TRUE
);
for
(
i
=
0
;
i
<
LOADORDER_NTYPES
;
i
++
)
{
...
...
@@ -246,7 +246,7 @@ static BOOL find_exe_file( const char *name, char *buffer, int buflen, HANDLE *h
return
FALSE
;
}
MODULE_GetLoadOrder
(
loadorder
,
NULL
,
buffer
,
TRUE
);
MODULE_GetLoadOrder
A
(
loadorder
,
NULL
,
buffer
,
TRUE
);
for
(
i
=
0
;
i
<
LOADORDER_NTYPES
;
i
++
)
{
...
...
dlls/ntdll/loader.c
View file @
1cb92bbe
...
...
@@ -1374,7 +1374,7 @@ static NTSTATUS load_dll( LPCSTR libname, DWORD flags, WINE_MODREF** pwm )
}
main_exe
=
get_modref
(
NtCurrentTeb
()
->
Peb
->
ImageBaseAddress
);
MODULE_GetLoadOrder
(
loadorder
,
main_exe
->
ldr
.
BaseDllName
.
Buffer
,
filename
,
TRUE
);
MODULE_GetLoadOrder
A
(
loadorder
,
main_exe
->
ldr
.
BaseDllName
.
Buffer
,
filename
,
TRUE
);
for
(
i
=
0
;
i
<
LOADORDER_NTYPES
;
i
++
)
{
...
...
dlls/ntdll/loadorder.c
View file @
1cb92bbe
This diff is collapsed.
Click to expand it.
include/module.h
View file @
1cb92bbe
...
...
@@ -203,8 +203,10 @@ extern HRSRC PE_FindResourceExW(HMODULE,LPCWSTR,LPCWSTR,WORD);
/* loader/loadorder.c */
extern
BOOL
MODULE_GetBuiltinPath
(
const
char
*
libname
,
const
char
*
ext
,
char
*
filename
,
UINT
size
);
extern
void
MODULE_GetLoadOrder
(
enum
loadorder_type
plo
[],
const
WCHAR
*
app_name
,
const
char
*
path
,
BOOL
win32
);
extern
void
MODULE_GetLoadOrderW
(
enum
loadorder_type
plo
[],
const
WCHAR
*
app_name
,
const
WCHAR
*
path
,
BOOL
win32
);
extern
void
MODULE_GetLoadOrderA
(
enum
loadorder_type
plo
[],
const
WCHAR
*
app_name
,
const
char
*
path
,
BOOL
win32
);
/* relay32/builtin.c */
extern
HMODULE
BUILTIN32_LoadExeModule
(
HMODULE
main
);
...
...
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