forked from Mirrors/wine-wine
msvcrt: Don't forward _getpid to kernel32.
parent
8f9b0abf72
commit
db58873868
|
@ -526,7 +526,7 @@
|
|||
@ cdecl _getdrives() kernel32.GetLogicalDrives
|
||||
@ cdecl _getmaxstdio() MSVCRT__getmaxstdio
|
||||
@ cdecl _getmbcp()
|
||||
@ cdecl _getpid() kernel32.GetCurrentProcessId
|
||||
@ cdecl _getpid() _getpid
|
||||
@ stub _getsystime(ptr)
|
||||
@ cdecl _getw(ptr) MSVCRT__getw
|
||||
# stub _getwch()
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue