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
d354a1ca
Commit
d354a1ca
authored
Mar 17, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented _getdllprocaddr(), it cannot be simply a forward to
GetProcAddress.
parent
52ec0a3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
process.c
dlls/msvcrt/process.c
+14
-0
No files found.
dlls/msvcrt/msvcrt.spec
View file @
d354a1ca
...
...
@@ -254,7 +254,7 @@
@ cdecl _getcwd(str long) _getcwd
@ cdecl _getdcwd(long str long) _getdcwd
@ cdecl _getdiskfree(long ptr) _getdiskfree
@
forward _getdllprocaddr kernel32.GetProcAddress
@
cdecl _getdllprocaddr(long str long) _getdllprocaddr
@ cdecl _getdrive() _getdrive
@ forward _getdrives kernel32.GetLogicalDrives
@ stub _getmaxstdio #()
...
...
dlls/msvcrt/process.c
View file @
d354a1ca
...
...
@@ -472,3 +472,17 @@ int _unloaddll(int dll)
return
err
;
}
}
/*********************************************************************
* _getdllprocaddr (MSVCRT.@)
*/
void
*
_getdllprocaddr
(
int
dll
,
const
char
*
name
,
int
ordinal
)
{
if
(
name
)
{
if
(
ordinal
!=
-
1
)
return
NULL
;
return
GetProcAddress
(
(
HMODULE
)
dll
,
name
);
}
if
(
HIWORD
(
ordinal
))
return
NULL
;
return
GetProcAddress
(
(
HMODULE
)
dll
,
(
LPCSTR
)(
ULONG_PTR
)
ordinal
);
}
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