msvcp: Export a couple of variables and their access function.

This commit is contained in:
Alexandre Julliard 2011-05-04 13:48:21 +02:00
parent 83a8c45dc4
commit 5b58de9648
7 changed files with 45 additions and 21 deletions

View file

@ -23,6 +23,9 @@
#include "windef.h"
#include "winbase.h"
/* ?_BADOFF@std@@3_JB -> __int64 const std::_BADOFF */
const __int64 std_BADOFF = -1;
BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
{
switch (reason)

View file

@ -767,7 +767,7 @@
@ stub -arch=win32 ?_Assign@_Concurrent_queue_iterator_base_v4@details@Concurrency@@IAEXABV123@@Z
@ stub -arch=win64 ?_Assign@_Concurrent_queue_iterator_base_v4@details@Concurrency@@IEAAXAEBV123@@Z
@ stub ?_Atexit@@YAXP6AXXZ@Z
# extern -arch=win64 ?_BADOFF@std@@3_JB
@ extern ?_BADOFF@std@@3_JB std_BADOFF
@ stub -arch=win32 ?_C_str@?$_Yarn@D@std@@QBEPBDXZ
@ stub -arch=win64 ?_C_str@?$_Yarn@D@std@@QEBAPEBDXZ
@ stub -arch=win32 ?_Callfns@ios_base@std@@AAEXW4event@12@@Z

View file

@ -1753,8 +1753,8 @@
@ stub -arch=win64 ?_Addfac@locale@std@@QEAAAEAV12@PEAVfacet@12@_K1@Z
@ stub -arch=win32 ?_Addstd@ios_base@std@@QAEXXZ
@ stub -arch=win64 ?_Addstd@ios_base@std@@QEAAXXZ
# extern -arch=win32 ?_BADOFF@std@@3JB
# extern -arch=win64 ?_BADOFF@std@@3_JB
@ extern -arch=win32 ?_BADOFF@std@@3JB msvcp90.?_BADOFF@std@@3JB
@ extern -arch=win64 ?_BADOFF@std@@3_JB msvcp90.?_BADOFF@std@@3_JB
@ stub -arch=win32 ?_Callfns@ios_base@std@@AAEXW4event@12@@Z
@ stub -arch=win64 ?_Callfns@ios_base@std@@AEAAXW4event@12@@Z
@ stub -arch=win32 ?_Charalloc@?$allocator@D@std@@QAEPADI@Z
@ -1814,7 +1814,7 @@
@ stub -arch=win32 ?_Fput@?$num_put@DV?$ostreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@KA?AV?$ostreambuf_iterator@DU?$char_traits@D@std@@@2@V32@AAVios_base@2@DPBDIIII@Z
@ stub -arch=win32 ?_Fput@?$num_put@GV?$ostreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@KA?AV?$ostreambuf_iterator@GU?$char_traits@G@std@@@2@V32@AAVios_base@2@GPBDIIII@Z
@ stub -arch=win32 ?_Fput@?$num_put@_WV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@KA?AV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@2@V32@AAVios_base@2@_WPBDIIII@Z
# extern ?_Fpz@std@@3_JA
@ extern ?_Fpz@std@@3_JA msvcp90.?_Fpz@std@@3_JA
@ stub -arch=win32 ?_Getcat@?$codecvt@DDH@std@@SAIPAPBVfacet@locale@2@@Z
@ stub -arch=win64 ?_Getcat@?$codecvt@DDH@std@@SA_KPEAPEBVfacet@locale@2@@Z
@ stub -arch=win32 ?_Getcat@?$codecvt@GDH@std@@SAIPAPBVfacet@locale@2@@Z

View file

@ -1941,8 +1941,8 @@
@ stub -arch=win64 ?_Addfac@locale@std@@QEAAAEAV12@PEAVfacet@12@_K1@Z
@ stub -arch=win32 ?_Addstd@ios_base@std@@QAEXXZ
@ stub -arch=win64 ?_Addstd@ios_base@std@@QEAAXXZ
# extern -arch=win32 ?_BADOFF@std@@3JB
# extern -arch=win64 ?_BADOFF@std@@3_JB
@ extern -arch=win32 ?_BADOFF@std@@3JB msvcp90.?_BADOFF@std@@3JB
@ extern -arch=win64 ?_BADOFF@std@@3_JB msvcp90.?_BADOFF@std@@3_JB
@ stub -arch=win32 ?_Callfns@ios_base@std@@AAEXW4event@12@@Z
@ stub -arch=win64 ?_Callfns@ios_base@std@@AEAAXW4event@12@@Z
# extern -arch=win32 ?_Clocptr@_Locimp@locale@std@@0PAV123@A
@ -2000,7 +2000,7 @@
@ stub -arch=win64 ?_Fput@?$num_put@GV?$ostreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@AEBA?AV?$ostreambuf_iterator@GU?$char_traits@G@std@@@2@V32@AEAVios_base@2@GPEBD_K333@Z
@ stub -arch=win32 ?_Fput@?$num_put@_WV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@ABA?AV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@2@V32@AAVios_base@2@_WPBDIIII@Z
@ stub -arch=win64 ?_Fput@?$num_put@_WV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@AEBA?AV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@2@V32@AEAVios_base@2@_WPEBD_K444@Z
# extern ?_Fpz@std@@3_JA
@ extern ?_Fpz@std@@3_JA msvcp90.?_Fpz@std@@3_JA
@ stub -arch=win32 ?_Getcat@?$codecvt@DDH@std@@SAIPAPBVfacet@locale@2@@Z
@ stub -arch=win64 ?_Getcat@?$codecvt@DDH@std@@SA_KPEAPEBVfacet@locale@2@@Z
@ stub -arch=win32 ?_Getcat@?$codecvt@GDH@std@@SAIPAPBVfacet@locale@2@@Z

View file

@ -2103,10 +2103,10 @@
@ stub -arch=win32 ?_Addstd@ios_base@std@@SAXPAV12@@Z
@ stub -arch=win64 ?_Addstd@ios_base@std@@SAXPEAV12@@Z
@ stub ?_Atexit@@YAXP6AXXZ@Z
# extern -arch=win32 ?_BADOFF@std@@3JB
# extern -arch=win64 ?_BADOFF@std@@3_JB
@ stub -arch=win32 ?_BADOFF_func@std@@YAABJXZ
@ stub -arch=win64 ?_BADOFF_func@std@@YAAEB_JXZ
@ extern -arch=win32 ?_BADOFF@std@@3JB msvcp90.?_BADOFF@std@@3JB
@ extern -arch=win64 ?_BADOFF@std@@3_JB msvcp90.?_BADOFF@std@@3_JB
@ cdecl -arch=win32 ?_BADOFF_func@std@@YAABJXZ() msvcp90.?_BADOFF_func@std@@YAABJXZ
@ cdecl -arch=win64 ?_BADOFF_func@std@@YAAEB_JXZ() msvcp90.?_BADOFF_func@std@@YAAEB_JXZ
@ stub -arch=win32 ?_Callfns@ios_base@std@@AAEXW4event@12@@Z
@ stub -arch=win64 ?_Callfns@ios_base@std@@AEAAXW4event@12@@Z
@ stub -arch=win32 ?_Cerr_func@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@XZ
@ -2215,9 +2215,9 @@
@ stub -arch=win64 ?_Fput@?$num_put@GV?$ostreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@AEBA?AV?$ostreambuf_iterator@GU?$char_traits@G@std@@@2@V32@AEAVios_base@2@GPEBD_K333@Z
@ stub -arch=win32 ?_Fput@?$num_put@_WV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@ABA?AV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@2@V32@AAVios_base@2@_WPBDIIII@Z
@ stub -arch=win64 ?_Fput@?$num_put@_WV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@AEBA?AV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@2@V32@AEAVios_base@2@_WPEBD_K444@Z
# extern ?_Fpz@std@@3_JA
@ stub -arch=win32 ?_Fpz_func@std@@YAAA_JXZ
@ stub -arch=win64 ?_Fpz_func@std@@YAAEA_JXZ
@ extern ?_Fpz@std@@3_JA msvcp90.?_Fpz@std@@3_JA
@ cdecl -arch=win32 ?_Fpz_func@std@@YAAA_JXZ() msvcp90.?_Fpz_func@std@@YAAA_JXZ
@ cdecl -arch=win64 ?_Fpz_func@std@@YAAEA_JXZ() msvcp90.?_Fpz_func@std@@YAAEA_JXZ
@ stub -arch=win32 ?_Getcat@?$codecvt@DDH@std@@SAIPAPBVfacet@locale@2@@Z
@ stub -arch=win64 ?_Getcat@?$codecvt@DDH@std@@SA_KPEAPEBVfacet@locale@2@@Z
@ stub -arch=win32 ?_Getcat@?$codecvt@GDH@std@@SAIPAPBVfacet@locale@2@@Z

View file

@ -2106,10 +2106,10 @@
@ stub -arch=win32 ?_Addstd@ios_base@std@@SAXPAV12@@Z
@ stub -arch=win64 ?_Addstd@ios_base@std@@SAXPEAV12@@Z
@ stub ?_Atexit@@YAXP6AXXZ@Z
# extern -arch=win32 ?_BADOFF@std@@3JB
# extern -arch=win64 ?_BADOFF@std@@3_JB
@ stub -arch=win32 ?_BADOFF_func@std@@YAABJXZ
@ stub -arch=win64 ?_BADOFF_func@std@@YAAEB_JXZ
@ extern -arch=win32 ?_BADOFF@std@@3JB std_BADOFF
@ extern -arch=win64 ?_BADOFF@std@@3_JB std_BADOFF
@ cdecl -arch=win32 ?_BADOFF_func@std@@YAABJXZ() std_BADOFF_func
@ cdecl -arch=win64 ?_BADOFF_func@std@@YAAEB_JXZ() std_BADOFF_func
@ stub -arch=win32 ?_Callfns@ios_base@std@@AAEXW4event@12@@Z
@ stub -arch=win64 ?_Callfns@ios_base@std@@AEAAXW4event@12@@Z
@ stub -arch=win32 ?_Cerr_func@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@XZ
@ -2218,9 +2218,9 @@
@ stub -arch=win64 ?_Fput@?$num_put@GV?$ostreambuf_iterator@GU?$char_traits@G@std@@@std@@@std@@AEBA?AV?$ostreambuf_iterator@GU?$char_traits@G@std@@@2@V32@AEAVios_base@2@GPEBD_K333@Z
@ stub -arch=win32 ?_Fput@?$num_put@_WV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@ABA?AV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@2@V32@AAVios_base@2@_WPBDIIII@Z
@ stub -arch=win64 ?_Fput@?$num_put@_WV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@std@@@std@@AEBA?AV?$ostreambuf_iterator@_WU?$char_traits@_W@std@@@2@V32@AEAVios_base@2@_WPEBD_K444@Z
# extern ?_Fpz@std@@3_JA
@ stub -arch=win32 ?_Fpz_func@std@@YAAA_JXZ
@ stub -arch=win64 ?_Fpz_func@std@@YAAEA_JXZ
@ extern ?_Fpz@std@@3_JA std_Fpz
@ cdecl -arch=win32 ?_Fpz_func@std@@YAAA_JXZ() std_Fpz_func
@ cdecl -arch=win64 ?_Fpz_func@std@@YAAEA_JXZ() std_Fpz_func
@ stub -arch=win32 ?_Getcat@?$codecvt@DDH@std@@SAIPAPBVfacet@locale@2@PBV42@@Z
@ stub -arch=win64 ?_Getcat@?$codecvt@DDH@std@@SA_KPEAPEBVfacet@locale@2@PEBV42@@Z
@ stub -arch=win32 ?_Getcat@?$codecvt@GDH@std@@SAIPAPBVfacet@locale@2@PBV42@@Z

View file

@ -64,3 +64,24 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE;
}
/* ?_BADOFF@std@@3JB -> long const std::_BADOFF */
/* ?_BADOFF@std@@3_JB -> __int64 const std::_BADOFF */
const INT_PTR std_BADOFF = -1;
/* ?_BADOFF_func@std@@YAABJXZ -> long const & __cdecl std::_BADOFF_func(void) */
/* ?_BADOFF_func@std@@YAAEB_JXZ -> __int64 const & __ptr64 __cdecl std::_BADOFF_func(void) */
const INT_PTR * __cdecl std_BADOFF_func(void)
{
return &std_BADOFF;
}
/* ?_Fpz@std@@3_JA __int64 std::_Fpz */
__int64 std_Fpz = 0;
/* ?_Fpz_func@std@@YAAA_JXZ -> __int64 & __cdecl std::_Fpz_func(void) */
/* ?_Fpz_func@std@@YAAEA_JXZ -> __int64 & __ptr64 __cdecl std::_Fpz_func(void) */
__int64 * __cdecl std_Fpz_func(void)
{
return &std_Fpz;
}