Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sam Joan Roque-Worcel
wine
Commits
69dc0d93
Commit
69dc0d93
authored
22 years ago
by
Eric Pouech
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Removed no longer needed MODREF.find_export field.
parent
bc7cf93d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dlls/ntdll/loader.c
+1
-1
1 addition, 1 deletion
dlls/ntdll/loader.c
dlls/ntdll/ntdll_misc.h
+1
-0
1 addition, 0 deletions
dlls/ntdll/ntdll_misc.h
include/module.h
+0
-2
0 additions, 2 deletions
include/module.h
loader/pe_image.c
+1
-3
1 addition, 3 deletions
loader/pe_image.c
with
3 additions
and
6 deletions
dlls/ntdll/loader.c
+
1
−
1
View file @
69dc0d93
...
...
@@ -497,7 +497,7 @@ FARPROC MODULE_GetProcAddress(
RtlEnterCriticalSection
(
&
loader_section
);
if
((
wm
=
MODULE32_LookupHMODULE
(
hModule
)))
{
retproc
=
wm
->
f
ind
_e
xport
(
wm
,
function
,
hint
,
snoop
);
retproc
=
PE_F
ind
E
xport
edFunction
(
wm
,
function
,
hint
,
snoop
);
}
RtlLeaveCriticalSection
(
&
loader_section
);
return
retproc
;
...
...
This diff is collapsed.
Click to expand it.
dlls/ntdll/ntdll_misc.h
+
1
−
0
View file @
69dc0d93
...
...
@@ -32,6 +32,7 @@ extern void dump_ObjectAttributes (const OBJECT_ATTRIBUTES *ObjectAttributes);
extern
FARPROC
MODULE_GetProcAddress
(
HMODULE
hModule
,
LPCSTR
function
,
int
hint
,
BOOL
snoop
);
extern
WINE_MODREF
*
MODULE_AllocModRef
(
HMODULE
hModule
,
LPCSTR
filename
);
extern
NTSTATUS
MODULE_LoadLibraryExA
(
LPCSTR
libname
,
DWORD
flags
,
WINE_MODREF
**
);
extern
FARPROC
PE_FindExportedFunction
(
WINE_MODREF
*
wm
,
LPCSTR
funcName
,
int
hint
,
BOOL
snoop
);
static
inline
HANDLE
ntdll_get_process_heap
(
void
)
{
...
...
This diff is collapsed.
Click to expand it.
include/module.h
+
0
−
2
View file @
69dc0d93
...
...
@@ -133,8 +133,6 @@ typedef struct _wine_modref
HMODULE16
hDummyMod
;
/* Win16 dummy module */
void
*
dlhandle
;
/* handle returned by dlopen() */
LDR_MODULE
ldr
;
FARPROC
(
*
find_export
)(
struct
_wine_modref
*
wm
,
LPCSTR
func
,
int
hint
,
BOOL
snoop
);
int
nDeps
;
struct
_wine_modref
**
deps
;
...
...
This diff is collapsed.
Click to expand it.
loader/pe_image.c
+
1
−
3
View file @
69dc0d93
...
...
@@ -109,7 +109,7 @@ void dump_exports( HMODULE hModule )
* If it is an ordinal:
* - use ordinal-pe_export->Base as offset into the function list
*/
static
FARPROC
PE_FindExportedFunction
(
FARPROC
PE_FindExportedFunction
(
WINE_MODREF
*
wm
,
/* [in] WINE modreference */
LPCSTR
funcName
,
/* [in] function name */
int
hint
,
...
...
@@ -532,8 +532,6 @@ WINE_MODREF *PE_CreateModule( HMODULE hModule, LPCSTR filename, DWORD flags,
else
if
(
flags
&
DONT_RESOLVE_DLL_REFERENCES
)
wm
->
ldr
.
Flags
|=
LDR_DONT_RESOLVE_REFS
;
wm
->
find_export
=
PE_FindExportedFunction
;
/* Dump Exports */
if
(
pe_export
&&
TRACE_ON
(
win32
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment