diff options
author | Rob Mensching <rob@firegiant.com> | 2023-02-09 05:03:26 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2023-02-09 15:18:09 -0800 |
commit | dc8a7f2398602f994c3e43a733aa09b18dbd7662 (patch) | |
tree | fb7df95ed72abd3d5fef10002b40160ee850ed09 /src/libs/dutil | |
parent | dcc7f5a56c61ce51fb240c3a048d37dd5277b0d6 (diff) | |
download | wix-dc8a7f2398602f994c3e43a733aa09b18dbd7662.tar.gz wix-dc8a7f2398602f994c3e43a733aa09b18dbd7662.tar.bz2 wix-dc8a7f2398602f994c3e43a733aa09b18dbd7662.zip |
Some small SAL annotation fixups
Diffstat (limited to 'src/libs/dutil')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/locutil.h | 4 | ||||
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/locutil.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/locutil.h b/src/libs/dutil/WixToolset.DUtil/inc/locutil.h index 38ddda20..8be03a18 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/locutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/locutil.h | |||
@@ -46,7 +46,7 @@ HRESULT DAPI LocProbeForFile( | |||
46 | __in_z LPCWSTR wzBasePath, | 46 | __in_z LPCWSTR wzBasePath, |
47 | __in_z LPCWSTR wzLocFileName, | 47 | __in_z LPCWSTR wzLocFileName, |
48 | __in_z_opt LPCWSTR wzLanguage, | 48 | __in_z_opt LPCWSTR wzLanguage, |
49 | __inout LPWSTR* psczPath | 49 | __deref_out_z LPWSTR* psczPath |
50 | ); | 50 | ); |
51 | 51 | ||
52 | /******************************************************************** | 52 | /******************************************************************** |
@@ -84,7 +84,7 @@ void DAPI LocFree( | |||
84 | *******************************************************************/ | 84 | *******************************************************************/ |
85 | HRESULT DAPI LocLocalizeString( | 85 | HRESULT DAPI LocLocalizeString( |
86 | __in const WIX_LOCALIZATION* pWixLoc, | 86 | __in const WIX_LOCALIZATION* pWixLoc, |
87 | __inout LPWSTR* psczInput | 87 | __deref_out_z LPWSTR* psczInput |
88 | ); | 88 | ); |
89 | 89 | ||
90 | /******************************************************************** | 90 | /******************************************************************** |
diff --git a/src/libs/dutil/WixToolset.DUtil/locutil.cpp b/src/libs/dutil/WixToolset.DUtil/locutil.cpp index 318468b4..5ea3f814 100644 --- a/src/libs/dutil/WixToolset.DUtil/locutil.cpp +++ b/src/libs/dutil/WixToolset.DUtil/locutil.cpp | |||
@@ -62,7 +62,7 @@ extern "C" HRESULT DAPI LocProbeForFile( | |||
62 | __in_z LPCWSTR wzBasePath, | 62 | __in_z LPCWSTR wzBasePath, |
63 | __in_z LPCWSTR wzLocFileName, | 63 | __in_z LPCWSTR wzLocFileName, |
64 | __in_z_opt LPCWSTR wzLanguage, | 64 | __in_z_opt LPCWSTR wzLanguage, |
65 | __inout LPWSTR* psczPath | 65 | __deref_out_z LPWSTR* psczPath |
66 | ) | 66 | ) |
67 | { | 67 | { |
68 | HRESULT hr = S_OK; | 68 | HRESULT hr = S_OK; |
@@ -286,7 +286,7 @@ extern "C" void DAPI LocFree( | |||
286 | 286 | ||
287 | extern "C" HRESULT DAPI LocLocalizeString( | 287 | extern "C" HRESULT DAPI LocLocalizeString( |
288 | __in const WIX_LOCALIZATION* pWixLoc, | 288 | __in const WIX_LOCALIZATION* pWixLoc, |
289 | __inout LPWSTR* ppsczInput | 289 | __deref_out_z LPWSTR* ppsczInput |
290 | ) | 290 | ) |
291 | { | 291 | { |
292 | Assert(ppsczInput && pWixLoc); | 292 | Assert(ppsczInput && pWixLoc); |