msvcp: Implement the WCHAR version of _Unlink.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d4f1175a93
commit
eea0f37a1a
|
@ -1768,8 +1768,8 @@
|
||||||
@ cdecl -arch=win64 ?_Tidy@ios_base@std@@AEAAXXZ(ptr) ios_base_Tidy
|
@ cdecl -arch=win64 ?_Tidy@ios_base@std@@AEAAXXZ(ptr) ios_base_Tidy
|
||||||
@ cdecl -arch=win32 ?_Unlink@sys@tr2@std@@YAHPBD@Z(str) tr2_sys__Unlink
|
@ cdecl -arch=win32 ?_Unlink@sys@tr2@std@@YAHPBD@Z(str) tr2_sys__Unlink
|
||||||
@ cdecl -arch=win64 ?_Unlink@sys@tr2@std@@YAHPEBD@Z(str) tr2_sys__Unlink
|
@ cdecl -arch=win64 ?_Unlink@sys@tr2@std@@YAHPEBD@Z(str) tr2_sys__Unlink
|
||||||
@ stub -arch=win32 ?_Unlink@sys@tr2@std@@YAHPB_W@Z
|
@ cdecl -arch=win32 ?_Unlink@sys@tr2@std@@YAHPB_W@Z(wstr) tr2_sys__Unlink_wchar
|
||||||
@ stub -arch=win64 ?_Unlink@sys@tr2@std@@YAHPEB_W@Z
|
@ cdecl -arch=win64 ?_Unlink@sys@tr2@std@@YAHPEB_W@Z(wstr) tr2_sys__Unlink_wchar
|
||||||
@ cdecl -arch=arm ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAAXXZ(ptr) basic_streambuf_char__Unlock
|
@ cdecl -arch=arm ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAAXXZ(ptr) basic_streambuf_char__Unlock
|
||||||
@ thiscall -arch=i386 ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAEXXZ(ptr) basic_streambuf_char__Unlock
|
@ thiscall -arch=i386 ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAEXXZ(ptr) basic_streambuf_char__Unlock
|
||||||
@ cdecl -arch=win64 ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAAXXZ(ptr) basic_streambuf_char__Unlock
|
@ cdecl -arch=win64 ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAAXXZ(ptr) basic_streambuf_char__Unlock
|
||||||
|
|
|
@ -1768,8 +1768,8 @@
|
||||||
@ cdecl -arch=win64 ?_Tidy@ios_base@std@@AEAAXXZ(ptr) msvcp120.?_Tidy@ios_base@std@@AEAAXXZ
|
@ cdecl -arch=win64 ?_Tidy@ios_base@std@@AEAAXXZ(ptr) msvcp120.?_Tidy@ios_base@std@@AEAAXXZ
|
||||||
@ cdecl -arch=win32 ?_Unlink@sys@tr2@std@@YAHPBD@Z(str) msvcp120.?_Unlink@sys@tr2@std@@YAHPBD@Z
|
@ cdecl -arch=win32 ?_Unlink@sys@tr2@std@@YAHPBD@Z(str) msvcp120.?_Unlink@sys@tr2@std@@YAHPBD@Z
|
||||||
@ cdecl -arch=win64 ?_Unlink@sys@tr2@std@@YAHPEBD@Z(str) msvcp120.?_Unlink@sys@tr2@std@@YAHPEBD@Z
|
@ cdecl -arch=win64 ?_Unlink@sys@tr2@std@@YAHPEBD@Z(str) msvcp120.?_Unlink@sys@tr2@std@@YAHPEBD@Z
|
||||||
@ stub -arch=win32 ?_Unlink@sys@tr2@std@@YAHPB_W@Z
|
@ cdecl -arch=win32 ?_Unlink@sys@tr2@std@@YAHPB_W@Z(wstr) msvcp120.?_Unlink@sys@tr2@std@@YAHPB_W@Z
|
||||||
@ stub -arch=win64 ?_Unlink@sys@tr2@std@@YAHPEB_W@Z
|
@ cdecl -arch=win64 ?_Unlink@sys@tr2@std@@YAHPEB_W@Z(wstr) msvcp120.?_Unlink@sys@tr2@std@@YAHPEB_W@Z
|
||||||
@ cdecl -arch=arm ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAAXXZ(ptr) msvcp120.?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAAXXZ
|
@ cdecl -arch=arm ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAAXXZ(ptr) msvcp120.?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAAXXZ
|
||||||
@ thiscall -arch=i386 ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAEXXZ(ptr) msvcp120.?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAEXXZ
|
@ thiscall -arch=i386 ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAEXXZ(ptr) msvcp120.?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAEXXZ
|
||||||
@ cdecl -arch=win64 ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAAXXZ(ptr) msvcp120.?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAAXXZ
|
@ cdecl -arch=win64 ?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAAXXZ(ptr) msvcp120.?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAAXXZ
|
||||||
|
|
|
@ -3737,7 +3737,7 @@
|
||||||
@ cdecl _Toupper(long ptr) _Toupper
|
@ cdecl _Toupper(long ptr) _Toupper
|
||||||
@ cdecl _Towlower(long ptr) _Towlower
|
@ cdecl _Towlower(long ptr) _Towlower
|
||||||
@ cdecl _Towupper(long ptr) _Towupper
|
@ cdecl _Towupper(long ptr) _Towupper
|
||||||
@ stub _Unlink
|
@ cdecl _Unlink(wstr) tr2_sys__Unlink_wchar
|
||||||
@ cdecl _Unlock_shared_ptr_spin_lock()
|
@ cdecl _Unlock_shared_ptr_spin_lock()
|
||||||
@ stub _WStod
|
@ stub _WStod
|
||||||
@ stub _WStodx
|
@ stub _WStodx
|
||||||
|
|
|
@ -15060,6 +15060,18 @@ int __cdecl tr2_sys__Unlink(char const* path)
|
||||||
return GetLastError();
|
return GetLastError();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ?_Unlink@sys@tr2@std@@YAHPB_W@Z */
|
||||||
|
/* ?_Unlink@sys@tr2@std@@YAHPEB_W@Z */
|
||||||
|
/* _Unlink */
|
||||||
|
int __cdecl tr2_sys__Unlink_wchar(WCHAR const* path)
|
||||||
|
{
|
||||||
|
TRACE("(%s)\n", debugstr_w(path));
|
||||||
|
|
||||||
|
if(DeleteFileW(path))
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
return GetLastError();
|
||||||
|
}
|
||||||
|
|
||||||
/* ??0strstream@std@@QAE@PADHH@Z */
|
/* ??0strstream@std@@QAE@PADHH@Z */
|
||||||
/* ??0strstream@std@@QEAA@PEAD_JH@Z */
|
/* ??0strstream@std@@QEAA@PEAD_JH@Z */
|
||||||
#if STREAMSIZE_BITS == 64
|
#if STREAMSIZE_BITS == 64
|
||||||
|
|
Loading…
Reference in New Issue