msvcrt: Don't forward _getpid to kernel32.

oldstable
Piotr Caban 2013-03-27 16:13:43 +01:00 committed by Alexandre Julliard
parent 8f9b0abf72
commit db58873868
2 changed files with 9 additions and 1 deletions

View File

@ -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()

View File

@ -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();
}