Nikolay Sivov : shlwapi: Fix spec entries for SHFormatDateTime().

Alexandre Julliard julliard at winehq.org
Mon Feb 3 15:06:05 CST 2020


Module: wine
Branch: master
Commit: 1d1aa186547da3a7805f6b805bbf9fcee7d0ae27
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1d1aa186547da3a7805f6b805bbf9fcee7d0ae27

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Feb  3 10:16:10 2020 +0300

shlwapi: Fix spec entries for SHFormatDateTime().

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shlwapi/shlwapi.spec | 4 ++--
 include/shlwapi.h         | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec
index 9b4b6357c6..f47f41aea4 100644
--- a/dlls/shlwapi/shlwapi.spec
+++ b/dlls/shlwapi/shlwapi.spec
@@ -350,8 +350,8 @@
 350 stdcall -noname GetFileVersionInfoSizeWrapW(wstr ptr)
 351 stdcall -noname GetFileVersionInfoWrapW(wstr long long ptr)
 352 stdcall -noname VerQueryValueWrapW(ptr wstr ptr ptr)
-353 stdcall -ordinal SHFormatDateTimeA(ptr ptr str long)
-354 stdcall -ordinal SHFormatDateTimeW(ptr ptr wstr long)
+353 stdcall -ordinal SHFormatDateTimeA(ptr ptr ptr long)
+354 stdcall -ordinal SHFormatDateTimeW(ptr ptr ptr long)
 355 stdcall -noname IUnknown_EnableModeless(ptr long)
 356 stdcall -noname CreateAllAccessSecurityAttributes(ptr ptr long)
 357 stdcall -noname SHGetNewLinkInfoWrapW(wstr wstr wstr long long)
diff --git a/include/shlwapi.h b/include/shlwapi.h
index 4fd47d249f..02517a944a 100644
--- a/include/shlwapi.h
+++ b/include/shlwapi.h
@@ -1135,6 +1135,9 @@ BOOL WINAPI IsOS(DWORD);
 #define FDTF_RTLDATE            0x00000200
 #define FDTF_NOAUTOREADINGORDER 0x00000400
 
+int WINAPI SHFormatDateTimeA(const FILETIME UNALIGNED *filetime, DWORD *flags, LPSTR buffer, UINT size);
+int WINAPI SHFormatDateTimeW(const FILETIME UNALIGNED *filetime, DWORD *flags, LPWSTR buffer, UINT size);
+
 typedef struct
 {
     const IID *piid;




More information about the wine-cvs mailing list