msvcrt: Added _getptd implementation.

oldstable
Piotr Caban 2011-05-24 17:23:24 +02:00 committed by Alexandre Julliard
parent abb3db5c57
commit 6e777041b2
5 changed files with 13 additions and 3 deletions

View File

@ -708,7 +708,7 @@
@ cdecl _getmaxstdio() msvcrt._getmaxstdio
@ cdecl _getmbcp() msvcrt._getmbcp
@ cdecl _getpid() msvcrt._getpid
@ stub _getptd
@ cdecl _getptd() msvcrt._getptd
@ cdecl _getsystime(ptr) msvcrt._getsystime
@ cdecl _getw(ptr) msvcrt._getw
@ stub _getwch

View File

@ -555,7 +555,7 @@
@ cdecl _getmaxstdio() msvcrt._getmaxstdio
@ cdecl _getmbcp() msvcrt._getmbcp
@ cdecl _getpid() msvcrt._getpid
@ stub _getptd
@ cdecl _getptd() msvcrt._getptd
@ cdecl _getsystime(ptr) msvcrt._getsystime
@ cdecl _getw(ptr) msvcrt._getw
@ stub _getwch

View File

@ -543,7 +543,7 @@
@ cdecl _getmaxstdio() msvcrt._getmaxstdio
@ cdecl _getmbcp() msvcrt._getmbcp
@ cdecl _getpid() msvcrt._getpid
@ stub _getptd
@ cdecl _getptd() msvcrt._getptd
@ cdecl _getsystime(ptr) msvcrt._getsystime
@ cdecl _getw(ptr) msvcrt._getw
@ stub _getwch

View File

@ -1502,3 +1502,4 @@
@ cdecl _wdupenv_s(ptr ptr wstr)
@ cdecl _get_printf_count_output()
@ cdecl _set_printf_count_output(long)
@ cdecl _getptd()

View File

@ -159,3 +159,12 @@ void CDECL _endthreadex(
/* FIXME */
ExitThread(retval);
}
/*********************************************************************
* _getptd - not exported in native msvcrt
*/
thread_data_t* CDECL _getptd(void)
{
FIXME("returns undocumented/not fully filled data\n");
return msvcrt_get_thread_data();
}