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
69dc0d93
Commit
69dc0d93
authored
Mar 21, 2003
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed no longer needed MODREF.find_export field.
parent
bc7cf93d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
6 deletions
+3
-6
loader.c
dlls/ntdll/loader.c
+1
-1
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+1
-0
module.h
include/module.h
+0
-2
pe_image.c
loader/pe_image.c
+1
-3
No files found.
dlls/ntdll/loader.c
View file @
69dc0d93
...
...
@@ -497,7 +497,7 @@ FARPROC MODULE_GetProcAddress(
RtlEnterCriticalSection
(
&
loader_section
);
if
((
wm
=
MODULE32_LookupHMODULE
(
hModule
)))
{
retproc
=
wm
->
find_export
(
wm
,
function
,
hint
,
snoop
);
retproc
=
PE_FindExportedFunction
(
wm
,
function
,
hint
,
snoop
);
}
RtlLeaveCriticalSection
(
&
loader_section
);
return
retproc
;
...
...
dlls/ntdll/ntdll_misc.h
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
)
{
...
...
include/module.h
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
;
...
...
loader/pe_image.c
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
))
...
...
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