[PATCH 4/5] shlwapi: Fix spec entries for SHFormatDateTime().

Nikolay Sivov nsivov at codeweavers.com
Mon Feb 3 01:16:10 CST 2020


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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;
-- 
2.24.1




More information about the wine-devel mailing list