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
db588738
Commit
db588738
authored
Mar 27, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Don't forward _getpid to kernel32.
parent
8f9b0abf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
process.c
dlls/msvcrt/process.c
+8
-0
No files found.
dlls/msvcrt/msvcrt.spec
View file @
db588738
...
...
@@ -526,7 +526,7 @@
@ cdecl _getdrives() kernel32.GetLogicalDrives
@ cdecl _getmaxstdio() MSVCRT__getmaxstdio
@ cdecl _getmbcp()
@ cdecl _getpid()
kernel32.GetCurrentProcessI
d
@ cdecl _getpid()
_getpi
d
@ stub _getsystime(ptr)
@ cdecl _getw(ptr) MSVCRT__getw
# stub _getwch()
...
...
dlls/msvcrt/process.c
View file @
db588738
...
...
@@ -1317,3 +1317,11 @@ void * CDECL _getdllprocaddr(MSVCRT_intptr_t dll, const char *name, int ordinal)
if
(
HIWORD
(
ordinal
))
return
NULL
;
return
GetProcAddress
(
(
HMODULE
)
dll
,
(
LPCSTR
)(
ULONG_PTR
)
ordinal
);
}
/*********************************************************************
* _getpid (MSVCRT.@)
*/
int
CDECL
_getpid
(
void
)
{
return
GetCurrentProcessId
();
}
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