https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2186ce3d580bf664491060ded28e697d1f8c17e8

commit 2186ce3d580bf664491060ded28e697d1f8c17e8
Author:     Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com>
AuthorDate: Mon Jan 20 10:12:35 2025 +0900
Commit:     Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com>
CommitDate: Mon Jan 20 10:12:35 2025 +0900

    [SHELL32][SDK] Follow-up of #7622; LPWSTR to PWSTR etc.
    
    And LPCWSTR to PCWSTR. CORE-19278
---
 dll/win32/shell32/utils.cpp | 4 ++--
 sdk/include/psdk/shellapi.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dll/win32/shell32/utils.cpp b/dll/win32/shell32/utils.cpp
index 4e0949eb2bb..8214a9bb10c 100644
--- a/dll/win32/shell32/utils.cpp
+++ b/dll/win32/shell32/utils.cpp
@@ -926,10 +926,10 @@ EXTERN_C
 HRESULT WINAPI
 SHGetUnreadMailCountW(
     _In_opt_ HKEY hKeyUser,
-    _In_opt_ LPCWSTR pszMailAddress,
+    _In_opt_ PCWSTR pszMailAddress,
     _Out_opt_ PDWORD pdwCount,
     _Inout_opt_ PFILETIME pFileTime,
-    _Out_writes_opt_(cchShellExecuteCommand) LPWSTR pszShellExecuteCommand,
+    _Out_writes_opt_(cchShellExecuteCommand) PWSTR pszShellExecuteCommand,
     _In_ INT cchShellExecuteCommand)
 {
     LSTATUS error;
diff --git a/sdk/include/psdk/shellapi.h b/sdk/include/psdk/shellapi.h
index f343928aa62..fa94826ade4 100644
--- a/sdk/include/psdk/shellapi.h
+++ b/sdk/include/psdk/shellapi.h
@@ -662,10 +662,10 @@ SHEnumerateUnreadMailAccountsW(
 HRESULT WINAPI
 SHGetUnreadMailCountW(
     _In_opt_ HKEY hKeyUser,
-    _In_opt_ LPCWSTR pszMailAddress,
+    _In_opt_ PCWSTR pszMailAddress,
     _Out_opt_ PDWORD pdwCount,
     _Inout_opt_ PFILETIME pFileTime,
-    _Out_writes_opt_(cchShellExecuteCommand) LPWSTR pszShellExecuteCommand,
+    _Out_writes_opt_(cchShellExecuteCommand) PWSTR pszShellExecuteCommand,
     _In_ INT cchShellExecuteCommand);
 
 #ifdef UNICODE

Reply via email to