diff --git a/dlls/msvcp100/msvcp100.spec b/dlls/msvcp100/msvcp100.spec index a9530de654c..4601a3da66a 100644 --- a/dlls/msvcp100/msvcp100.spec +++ b/dlls/msvcp100/msvcp100.spec @@ -196,8 +196,8 @@ @ stub -arch=win64 ??0_Lockit@std@@QEAA@XZ @ stub -arch=win32 ??0_Mutex@std@@QAE@W4_Uninitialized@1@@Z @ stub -arch=win64 ??0_Mutex@std@@QEAA@W4_Uninitialized@1@@Z -@ stub -arch=win32 ??0_Mutex@std@@QAE@XZ -@ stub -arch=win64 ??0_Mutex@std@@QEAA@XZ +@ thiscall -arch=win32 ??0_Mutex@std@@QAE@XZ(ptr) msvcp90.??0_Mutex@std@@QAE@XZ +@ cdecl -arch=win64 ??0_Mutex@std@@QEAA@XZ(ptr) msvcp90.??0_Mutex@std@@QEAA@XZ @ stub -arch=win32 ??0_Runtime_object@details@Concurrency@@QAE@H@Z @ stub -arch=win64 ??0_Runtime_object@details@Concurrency@@QEAA@H@Z @ stub -arch=win32 ??0_Runtime_object@details@Concurrency@@QAE@XZ @@ -316,8 +316,8 @@ @ stub -arch=win64 ??1_Locinfo@std@@QEAA@XZ @ stub -arch=win32 ??1_Lockit@std@@QAE@XZ @ stub -arch=win64 ??1_Lockit@std@@QEAA@XZ -@ stub -arch=win32 ??1_Mutex@std@@QAE@XZ -@ stub -arch=win64 ??1_Mutex@std@@QEAA@XZ +@ thiscall -arch=win32 ??1_Mutex@std@@QAE@XZ(ptr) msvcp90.??1_Mutex@std@@QAE@XZ +@ cdecl -arch=win64 ??1_Mutex@std@@QEAA@XZ(ptr) msvcp90.??1_Mutex@std@@QEAA@XZ @ stub -arch=win32 ??1_Timevec@std@@QAE@XZ @ stub -arch=win64 ??1_Timevec@std@@QEAA@XZ @ stub -arch=win32 ??1_UShinit@std@@QAE@XZ @@ -1080,8 +1080,8 @@ @ stub -arch=win64 ?_Lock@?$basic_streambuf@GU?$char_traits@G@std@@@std@@UEAAXXZ @ stub -arch=win32 ?_Lock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@UAEXXZ @ stub -arch=win64 ?_Lock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@UEAAXXZ -@ stub -arch=win32 ?_Lock@_Mutex@std@@QAEXXZ -@ stub -arch=win64 ?_Lock@_Mutex@std@@QEAAXXZ +@ thiscall -arch=win32 ?_Lock@_Mutex@std@@QAEXXZ(ptr) msvcp90.?_Lock@_Mutex@std@@QAEXXZ +@ cdecl -arch=win64 ?_Lock@_Mutex@std@@QEAAXXZ(ptr) msvcp90.?_Lock@_Mutex@std@@QEAAXXZ @ stub -arch=win32 ?_Lockit_ctor@_Lockit@std@@CAXPAV12@@Z @ stub -arch=win64 ?_Lockit_ctor@_Lockit@std@@CAXPEAV12@@Z @ stub -arch=win32 ?_Lockit_ctor@_Lockit@std@@CAXPAV12@H@Z @@ -1114,14 +1114,14 @@ @ stub -arch=win64 ?_Mtx_new@threads@stdext@@YAXAEAPEAX@Z @ stub -arch=win32 ?_Mtx_unlock@threads@stdext@@YAXPAX@Z @ stub -arch=win64 ?_Mtx_unlock@threads@stdext@@YAXPEAX@Z -@ stub -arch=win32 ?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z -@ stub -arch=win32 ?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z -@ stub -arch=win32 ?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z -@ stub -arch=win32 ?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z +@ cdecl -arch=win32 ?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z(ptr) msvcp90.?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z +@ cdecl -arch=win64 ?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z(ptr) msvcp90.?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z +@ cdecl -arch=win32 ?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z(ptr) msvcp90.?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z +@ cdecl -arch=win64 ?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z(ptr) msvcp90.?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z +@ cdecl -arch=win32 ?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z(ptr) msvcp90.?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z +@ cdecl -arch=win64 ?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z(ptr) msvcp90.?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z +@ cdecl -arch=win32 ?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z(ptr) msvcp90.?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z +@ cdecl -arch=win64 ?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z(ptr) msvcp90.?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z @ stub ?_Nomemory@std@@YAXXZ @ stub -arch=win32 ?_Orphan_all@_Container_base0@std@@QAEXXZ @ stub -arch=win64 ?_Orphan_all@_Container_base0@std@@QEAAXXZ @@ -1225,8 +1225,8 @@ @ stub -arch=win64 ?_Unlock@?$basic_streambuf@GU?$char_traits@G@std@@@std@@UEAAXXZ @ stub -arch=win32 ?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@UAEXXZ @ stub -arch=win64 ?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@UEAAXXZ -@ stub -arch=win32 ?_Unlock@_Mutex@std@@QAEXXZ -@ stub -arch=win64 ?_Unlock@_Mutex@std@@QEAAXXZ +@ thiscall -arch=win32 ?_Unlock@_Mutex@std@@QAEXXZ(ptr) msvcp90.?_Unlock@_Mutex@std@@QAEXXZ +@ cdecl -arch=win64 ?_Unlock@_Mutex@std@@QEAAXXZ(ptr) msvcp90.?_Unlock@_Mutex@std@@QEAAXXZ @ stub ?_XLgamma@tr1@std@@YAMM@Z @ stub ?_XLgamma@tr1@std@@YANN@Z @ stub ?_XLgamma@tr1@std@@YAOO@Z diff --git a/dlls/msvcp71/msvcp71.spec b/dlls/msvcp71/msvcp71.spec index 4bcb174158a..a8bf5953d15 100644 --- a/dlls/msvcp71/msvcp71.spec +++ b/dlls/msvcp71/msvcp71.spec @@ -962,8 +962,8 @@ @ stub -arch=win64 ??0_Lockit@std@@QEAA@H@Z @ stub -arch=win32 ??0_Lockit@std@@QAE@XZ @ stub -arch=win64 ??0_Lockit@std@@QEAA@XZ -@ stub -arch=win32 ??0_Mutex@std@@QAE@XZ -@ stub -arch=win64 ??0_Mutex@std@@QEAA@XZ +@ thiscall -arch=win32 ??0_Mutex@std@@QAE@XZ(ptr) msvcp90.??0_Mutex@std@@QAE@XZ +@ cdecl -arch=win64 ??0_Mutex@std@@QEAA@XZ(ptr) msvcp90.??0_Mutex@std@@QEAA@XZ @ stub -arch=win32 ??0_Timevec@std@@QAE@ABV01@@Z @ stub -arch=win64 ??0_Timevec@std@@QEAA@AEBV01@@Z @ stub -arch=win32 ??0_Timevec@std@@QAE@PAX@Z @@ -1181,8 +1181,8 @@ @ stub -arch=win64 ??1_Locinfo@std@@QEAA@XZ @ stub -arch=win32 ??1_Lockit@std@@QAE@XZ @ stub -arch=win64 ??1_Lockit@std@@QEAA@XZ -@ stub -arch=win32 ??1_Mutex@std@@QAE@XZ -@ stub -arch=win64 ??1_Mutex@std@@QEAA@XZ +@ thiscall -arch=win32 ??1_Mutex@std@@QAE@XZ(ptr) msvcp90.??1_Mutex@std@@QAE@XZ +@ cdecl -arch=win64 ??1_Mutex@std@@QEAA@XZ(ptr) msvcp90.??1_Mutex@std@@QEAA@XZ @ stub -arch=win32 ??1_Timevec@std@@QAE@XZ @ stub -arch=win64 ??1_Timevec@std@@QEAA@XZ @ stub -arch=win32 ??1_UShinit@std@@QAE@XZ @@ -2309,8 +2309,8 @@ @ stub -arch=win64 ?_Lock@?$basic_streambuf@GU?$char_traits@G@std@@@std@@QEAAXXZ @ stub -arch=win32 ?_Lock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEXXZ @ stub -arch=win64 ?_Lock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QEAAXXZ -@ stub -arch=win32 ?_Lock@_Mutex@std@@QAEXXZ -@ stub -arch=win64 ?_Lock@_Mutex@std@@QEAAXXZ +@ thiscall -arch=win32 ?_Lock@_Mutex@std@@QAEXXZ(ptr) msvcp90.?_Lock@_Mutex@std@@QAEXXZ +@ cdecl -arch=win64 ?_Lock@_Mutex@std@@QEAAXXZ(ptr) msvcp90.?_Lock@_Mutex@std@@QEAAXXZ @ stub -arch=win32 ?_Makpat@?$_Mpunct@D@std@@AAEXAAUpattern@money_base@2@III@Z @ stub -arch=win64 ?_Makpat@?$_Mpunct@D@std@@AEAAXAEAUpattern@money_base@2@III@Z @ stub -arch=win32 ?_Makpat@?$_Mpunct@G@std@@AAEXAAUpattern@money_base@2@III@Z @@ -2463,8 +2463,8 @@ @ stub -arch=win64 ?_Unlock@?$basic_streambuf@GU?$char_traits@G@std@@@std@@QEAAXXZ @ stub -arch=win32 ?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEXXZ @ stub -arch=win64 ?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QEAAXXZ -@ stub -arch=win32 ?_Unlock@_Mutex@std@@QAEXXZ -@ stub -arch=win64 ?_Unlock@_Mutex@std@@QEAAXXZ +@ thiscall -arch=win32 ?_Unlock@_Mutex@std@@QAEXXZ(ptr) msvcp90.?_Unlock@_Mutex@std@@QAEXXZ +@ cdecl -arch=win64 ?_Unlock@_Mutex@std@@QEAAXXZ(ptr) msvcp90.?_Unlock@_Mutex@std@@QEAAXXZ @ stub ?_Xlen@_String_base@std@@QBEXXZ @ stub ?_Xran@_String_base@std@@QBEXXZ @ stub -arch=win32 ?always_noconv@codecvt_base@std@@QBE_NXZ diff --git a/dlls/msvcp80/msvcp80.spec b/dlls/msvcp80/msvcp80.spec index df10bcdf89a..03c8d7a8e95 100644 --- a/dlls/msvcp80/msvcp80.spec +++ b/dlls/msvcp80/msvcp80.spec @@ -1080,8 +1080,8 @@ @ stub -arch=win64 ??0_Lockit@std@@QEAA@H@Z @ stub -arch=win32 ??0_Lockit@std@@QAE@XZ @ stub -arch=win64 ??0_Lockit@std@@QEAA@XZ -@ stub -arch=win32 ??0_Mutex@std@@QAE@XZ -@ stub -arch=win64 ??0_Mutex@std@@QEAA@XZ +@ thiscall -arch=win32 ??0_Mutex@std@@QAE@XZ(ptr) msvcp90.??0_Mutex@std@@QAE@XZ +@ cdecl -arch=win64 ??0_Mutex@std@@QEAA@XZ(ptr) msvcp90.??0_Mutex@std@@QEAA@XZ @ stub -arch=win32 ??0_Timevec@std@@QAE@ABV01@@Z @ stub -arch=win64 ??0_Timevec@std@@QEAA@AEBV01@@Z @ stub -arch=win32 ??0_Timevec@std@@QAE@PAX@Z @@ -1316,8 +1316,8 @@ @ stub -arch=win64 ??1_Locinfo@std@@QEAA@XZ @ stub -arch=win32 ??1_Lockit@std@@QAE@XZ @ stub -arch=win64 ??1_Lockit@std@@QEAA@XZ -@ stub -arch=win32 ??1_Mutex@std@@QAE@XZ -@ stub -arch=win64 ??1_Mutex@std@@QEAA@XZ +@ thiscall -arch=win32 ??1_Mutex@std@@QAE@XZ(ptr) msvcp90.??1_Mutex@std@@QAE@XZ +@ cdecl -arch=win64 ??1_Mutex@std@@QEAA@XZ(ptr) msvcp90.??1_Mutex@std@@QEAA@XZ @ stub -arch=win32 ??1_Timevec@std@@QAE@XZ @ stub -arch=win64 ??1_Timevec@std@@QEAA@XZ @ stub -arch=win32 ??1_UShinit@std@@QAE@XZ @@ -2580,8 +2580,8 @@ @ stub -arch=win64 ?_Lock@?$basic_streambuf@GU?$char_traits@G@std@@@std@@QEAAXXZ @ stub -arch=win32 ?_Lock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEXXZ @ stub -arch=win64 ?_Lock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QEAAXXZ -@ stub -arch=win32 ?_Lock@_Mutex@std@@QAEXXZ -@ stub -arch=win64 ?_Lock@_Mutex@std@@QEAAXXZ +@ thiscall -arch=win32 ?_Lock@_Mutex@std@@QAEXXZ(ptr) msvcp90.?_Lock@_Mutex@std@@QAEXXZ +@ cdecl -arch=win64 ?_Lock@_Mutex@std@@QEAAXXZ(ptr) msvcp90.?_Lock@_Mutex@std@@QEAAXXZ @ stub -arch=win32 ?_Lockit_ctor@_Lockit@std@@CAXPAV12@@Z @ stub -arch=win64 ?_Lockit_ctor@_Lockit@std@@CAXPEAV12@@Z @ stub -arch=win32 ?_Lockit_ctor@_Lockit@std@@CAXPAV12@H@Z @@ -2610,14 +2610,14 @@ @ cdecl -arch=win64 ?_Move_s@?$char_traits@G@std@@SAPEAGPEAG_KPEBG1@Z(ptr long ptr long) msvcp90.?_Move_s@?$char_traits@G@std@@SAPEAGPEAG_KPEBG1@Z @ cdecl -arch=win32 ?_Move_s@?$char_traits@_W@std@@SAPA_WPA_WIPB_WI@Z(ptr long ptr long) msvcp90.?_Move_s@?$char_traits@_W@std@@SAPA_WPA_WIPB_WI@Z @ cdecl -arch=win64 ?_Move_s@?$char_traits@_W@std@@SAPEA_WPEA_W_KPEB_W1@Z(ptr long ptr long) msvcp90.?_Move_s@?$char_traits@_W@std@@SAPEA_WPEA_W_KPEB_W1@Z -@ stub -arch=win32 ?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z -@ stub -arch=win32 ?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z -@ stub -arch=win32 ?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z -@ stub -arch=win32 ?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z +@ cdecl -arch=win32 ?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z(ptr) msvcp90.?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z +@ cdecl -arch=win64 ?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z(ptr) msvcp90.?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z +@ cdecl -arch=win32 ?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z(ptr) msvcp90.?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z +@ cdecl -arch=win64 ?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z(ptr) msvcp90.?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z +@ cdecl -arch=win32 ?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z(ptr) msvcp90.?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z +@ cdecl -arch=win64 ?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z(ptr) msvcp90.?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z +@ cdecl -arch=win32 ?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z(ptr) msvcp90.?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z +@ cdecl -arch=win64 ?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z(ptr) msvcp90.?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z @ stub -arch=win32 ?_Myptr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ @ stub -arch=win64 ?_Myptr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IEAAPEADXZ @ stub -arch=win32 ?_Myptr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IBEPBDXZ @@ -2818,8 +2818,8 @@ @ stub -arch=win64 ?_Unlock@?$basic_streambuf@GU?$char_traits@G@std@@@std@@QEAAXXZ @ stub -arch=win32 ?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEXXZ @ stub -arch=win64 ?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QEAAXXZ -@ stub -arch=win32 ?_Unlock@_Mutex@std@@QAEXXZ -@ stub -arch=win64 ?_Unlock@_Mutex@std@@QEAAXXZ +@ thiscall -arch=win32 ?_Unlock@_Mutex@std@@QAEXXZ(ptr) msvcp90.?_Unlock@_Mutex@std@@QAEXXZ +@ cdecl -arch=win64 ?_Unlock@_Mutex@std@@QEAAXXZ(ptr) msvcp90.?_Unlock@_Mutex@std@@QEAAXXZ @ stub -arch=win32 ?_Wcerr_func@std@@YAAAV?$basic_ostream@GU?$char_traits@G@std@@@1@XZ @ stub -arch=win64 ?_Wcerr_func@std@@YAAEAV?$basic_ostream@GU?$char_traits@G@std@@@1@XZ @ stub -arch=win32 ?_Wcerr_func@std@@YAAAV?$basic_ostream@_WU?$char_traits@_W@std@@@1@XZ diff --git a/dlls/msvcp90/Makefile.in b/dlls/msvcp90/Makefile.in index 38d917f9c99..3eda5dc5e3f 100644 --- a/dlls/msvcp90/Makefile.in +++ b/dlls/msvcp90/Makefile.in @@ -8,6 +8,7 @@ C_SRCS = \ ios.c \ math.c \ memory.c \ + misc.c \ msvcp90_main.c \ string.c diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c new file mode 100644 index 00000000000..8f7a835f6b3 --- /dev/null +++ b/dlls/msvcp90/misc.c @@ -0,0 +1,92 @@ +/* + * Copyright 2010 Piotr Caban for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "config.h" + +#include +#include + +#include "msvcp90.h" + +#include "windef.h" +#include "winbase.h" + +typedef struct { + void *mutex; +} mutex; + +/* ??0_Mutex@std@@QAE@XZ */ +/* ??0_Mutex@std@@QEAA@XZ */ +DEFINE_THISCALL_WRAPPER(mutex_ctor, 4) +mutex* __thiscall mutex_ctor(mutex *this) +{ + this->mutex = CreateMutexW(NULL, FALSE, NULL); + return this; +} + +/* ??1_Mutex@std@@QAE@XZ */ +/* ??1_Mutex@std@@QEAA@XZ */ +DEFINE_THISCALL_WRAPPER(mutex_dtor, 4) +void __thiscall mutex_dtor(mutex *this) +{ + CloseHandle(this->mutex); +} + +/* ?_Lock@_Mutex@std@@QAEXXZ */ +/* ?_Lock@_Mutex@std@@QEAAXXZ */ +DEFINE_THISCALL_WRAPPER(mutex_lock, 4) +void __thiscall mutex_lock(mutex *this) +{ + WaitForSingleObject(this->mutex, INFINITE); +} + +/* ?_Unlock@_Mutex@std@@QAEXXZ */ +/* ?_Unlock@_Mutex@std@@QEAAXXZ */ +DEFINE_THISCALL_WRAPPER(mutex_unlock, 4) +void __thiscall mutex_unlock(mutex *this) +{ + ReleaseMutex(this->mutex); +} + +/* ?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z */ +/* ?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z */ +void CDECL mutex_mutex_lock(mutex *m) +{ + mutex_lock(m); +} + +/* ?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z */ +/* ?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z */ +void CDECL mutex_mutex_unlock(mutex *m) +{ + mutex_unlock(m); +} + +/* ?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z */ +/* ?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z */ +void CDECL mutex_mutex_ctor(mutex *m) +{ + mutex_ctor(m); +} + +/* ?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z */ +/* ?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z */ +void CDECL mutex_mutex_dtor(mutex *m) +{ + mutex_dtor(m); +} diff --git a/dlls/msvcp90/msvcp90.spec b/dlls/msvcp90/msvcp90.spec index cc7e5b2210f..a700d9e2877 100644 --- a/dlls/msvcp90/msvcp90.spec +++ b/dlls/msvcp90/msvcp90.spec @@ -1082,8 +1082,8 @@ @ stub -arch=win64 ??0_Lockit@std@@QEAA@H@Z @ stub -arch=win32 ??0_Lockit@std@@QAE@XZ @ stub -arch=win64 ??0_Lockit@std@@QEAA@XZ -@ stub -arch=win32 ??0_Mutex@std@@QAE@XZ -@ stub -arch=win64 ??0_Mutex@std@@QEAA@XZ +@ thiscall -arch=win32 ??0_Mutex@std@@QAE@XZ(ptr) mutex_ctor +@ cdecl -arch=win64 ??0_Mutex@std@@QEAA@XZ(ptr) mutex_ctor @ stub -arch=win32 ??0_Timevec@std@@QAE@ABV01@@Z @ stub -arch=win64 ??0_Timevec@std@@QEAA@AEBV01@@Z @ stub -arch=win32 ??0_Timevec@std@@QAE@PAX@Z @@ -1318,8 +1318,8 @@ @ stub -arch=win64 ??1_Locinfo@std@@QEAA@XZ @ stub -arch=win32 ??1_Lockit@std@@QAE@XZ @ stub -arch=win64 ??1_Lockit@std@@QEAA@XZ -@ stub -arch=win32 ??1_Mutex@std@@QAE@XZ -@ stub -arch=win64 ??1_Mutex@std@@QEAA@XZ +@ thiscall -arch=win32 ??1_Mutex@std@@QAE@XZ(ptr) mutex_dtor +@ cdecl -arch=win64 ??1_Mutex@std@@QEAA@XZ(ptr) mutex_dtor @ stub -arch=win32 ??1_Timevec@std@@QAE@XZ @ stub -arch=win64 ??1_Timevec@std@@QEAA@XZ @ stub -arch=win32 ??1_UShinit@std@@QAE@XZ @@ -2597,8 +2597,8 @@ @ stub -arch=win64 ?_Lock@?$basic_streambuf@GU?$char_traits@G@std@@@std@@QEAAXXZ @ stub -arch=win32 ?_Lock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEXXZ @ stub -arch=win64 ?_Lock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QEAAXXZ -@ stub -arch=win32 ?_Lock@_Mutex@std@@QAEXXZ -@ stub -arch=win64 ?_Lock@_Mutex@std@@QEAAXXZ +@ thiscall -arch=win32 ?_Lock@_Mutex@std@@QAEXXZ(ptr) mutex_lock +@ cdecl -arch=win64 ?_Lock@_Mutex@std@@QEAAXXZ(ptr) mutex_lock @ stub -arch=win32 ?_Lockit_ctor@_Lockit@std@@CAXPAV12@@Z @ stub -arch=win64 ?_Lockit_ctor@_Lockit@std@@CAXPEAV12@@Z @ stub -arch=win32 ?_Lockit_ctor@_Lockit@std@@CAXPAV12@H@Z @@ -2635,14 +2635,14 @@ @ cdecl -arch=win64 ?_Move_s@?$char_traits@G@std@@SAPEAGPEAG_KPEBG1@Z(ptr long ptr long) MSVCP_char_traits_short__Move_s @ cdecl -arch=win32 ?_Move_s@?$char_traits@_W@std@@SAPA_WPA_WIPB_WI@Z(ptr long ptr long) MSVCP_char_traits_wchar__Move_s @ cdecl -arch=win64 ?_Move_s@?$char_traits@_W@std@@SAPEA_WPEA_W_KPEB_W1@Z(ptr long ptr long) MSVCP_char_traits_wchar__Move_s -@ stub -arch=win32 ?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z -@ stub -arch=win32 ?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z -@ stub -arch=win32 ?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z -@ stub -arch=win32 ?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z -@ stub -arch=win64 ?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z +@ cdecl -arch=win32 ?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z(ptr) mutex_mutex_lock +@ cdecl -arch=win64 ?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z(ptr) mutex_mutex_lock +@ cdecl -arch=win32 ?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z(ptr) mutex_mutex_unlock +@ cdecl -arch=win64 ?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z(ptr) mutex_mutex_unlock +@ cdecl -arch=win32 ?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z(ptr) mutex_mutex_ctor +@ cdecl -arch=win64 ?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z(ptr) mutex_mutex_ctor +@ cdecl -arch=win32 ?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z(ptr) mutex_mutex_dtor +@ cdecl -arch=win64 ?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z(ptr) mutex_mutex_dtor @ stub -arch=win32 ?_Myptr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ @ stub -arch=win64 ?_Myptr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IEAAPEADXZ @ stub -arch=win32 ?_Myptr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IBEPBDXZ @@ -2844,8 +2844,8 @@ @ stub -arch=win64 ?_Unlock@?$basic_streambuf@GU?$char_traits@G@std@@@std@@QEAAXXZ @ stub -arch=win32 ?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QAEXXZ @ stub -arch=win64 ?_Unlock@?$basic_streambuf@_WU?$char_traits@_W@std@@@std@@QEAAXXZ -@ stub -arch=win32 ?_Unlock@_Mutex@std@@QAEXXZ -@ stub -arch=win64 ?_Unlock@_Mutex@std@@QEAAXXZ +@ thiscall -arch=win32 ?_Unlock@_Mutex@std@@QAEXXZ(ptr) mutex_unlock +@ cdecl -arch=win64 ?_Unlock@_Mutex@std@@QEAAXXZ(ptr) mutex_unlock @ stub -arch=win32 ?_Wcerr_func@std@@YAAAV?$basic_ostream@GU?$char_traits@G@std@@@1@XZ @ stub -arch=win64 ?_Wcerr_func@std@@YAAEAV?$basic_ostream@GU?$char_traits@G@std@@@1@XZ @ stub -arch=win32 ?_Wcerr_func@std@@YAAAV?$basic_ostream@_WU?$char_traits@_W@std@@@1@XZ