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 | |
parent | dcc7f5a56c61ce51fb240c3a048d37dd5277b0d6 (diff) | |
download | wix-dc8a7f2398602f994c3e43a733aa09b18dbd7662.tar.gz wix-dc8a7f2398602f994c3e43a733aa09b18dbd7662.tar.bz2 wix-dc8a7f2398602f994c3e43a733aa09b18dbd7662.zip |
Some small SAL annotation fixups
-rw-r--r-- | src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h | 16 | ||||
-rw-r--r-- | src/api/burn/balutil/inc/balinfo.h | 6 | ||||
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/locutil.h | 4 | ||||
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/locutil.cpp | 4 |
4 files changed, 15 insertions, 15 deletions
diff --git a/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h b/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h index c8b80d13..ae7b2a93 100644 --- a/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h +++ b/src/api/burn/balutil/inc/BalBaseBootstrapperApplication.h | |||
@@ -110,7 +110,7 @@ public: // IBootstrapperApplication | |||
110 | __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, | 110 | __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, |
111 | __in_z LPCWSTR /*wzBundleTag*/, | 111 | __in_z LPCWSTR /*wzBundleTag*/, |
112 | __in BOOL /*fPerMachine*/, | 112 | __in BOOL /*fPerMachine*/, |
113 | __in LPCWSTR /*wzVersion*/, | 113 | __in_z LPCWSTR /*wzVersion*/, |
114 | __in BOOL /*fMissingFromCache*/, | 114 | __in BOOL /*fMissingFromCache*/, |
115 | __inout BOOL* pfCancel | 115 | __inout BOOL* pfCancel |
116 | ) | 116 | ) |
@@ -134,7 +134,7 @@ public: // IBootstrapperApplication | |||
134 | __in DWORD64 /*dw64Size*/, | 134 | __in DWORD64 /*dw64Size*/, |
135 | __in_z_opt LPCWSTR /*wzHash*/, | 135 | __in_z_opt LPCWSTR /*wzHash*/, |
136 | __in BOOTSTRAPPER_UPDATE_HASH_TYPE /*hashAlgorithm*/, | 136 | __in BOOTSTRAPPER_UPDATE_HASH_TYPE /*hashAlgorithm*/, |
137 | __in LPCWSTR /*wzVersion*/, | 137 | __in_z LPCWSTR /*wzVersion*/, |
138 | __in_z LPCWSTR /*wzTitle*/, | 138 | __in_z LPCWSTR /*wzTitle*/, |
139 | __in_z LPCWSTR /*wzSummary*/, | 139 | __in_z LPCWSTR /*wzSummary*/, |
140 | __in_z LPCWSTR /*wzContentType*/, | 140 | __in_z LPCWSTR /*wzContentType*/, |
@@ -160,7 +160,7 @@ public: // IBootstrapperApplication | |||
160 | __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, | 160 | __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, |
161 | __in_z LPCWSTR /*wzBundleTag*/, | 161 | __in_z LPCWSTR /*wzBundleTag*/, |
162 | __in BOOL /*fPerMachine*/, | 162 | __in BOOL /*fPerMachine*/, |
163 | __in LPCWSTR /*wzVersion*/, | 163 | __in_z LPCWSTR /*wzVersion*/, |
164 | __in BOOL /*fMissingFromCache*/, | 164 | __in BOOL /*fMissingFromCache*/, |
165 | __inout BOOL* pfCancel | 165 | __inout BOOL* pfCancel |
166 | ) | 166 | ) |
@@ -181,7 +181,7 @@ public: // IBootstrapperApplication | |||
181 | virtual STDMETHODIMP OnDetectCompatibleMsiPackage( | 181 | virtual STDMETHODIMP OnDetectCompatibleMsiPackage( |
182 | __in_z LPCWSTR /*wzPackageId*/, | 182 | __in_z LPCWSTR /*wzPackageId*/, |
183 | __in_z LPCWSTR /*wzCompatiblePackageId*/, | 183 | __in_z LPCWSTR /*wzCompatiblePackageId*/, |
184 | __in LPCWSTR /*wzCompatiblePackageVersion*/, | 184 | __in_z LPCWSTR /*wzCompatiblePackageVersion*/, |
185 | __inout BOOL* pfCancel | 185 | __inout BOOL* pfCancel |
186 | ) | 186 | ) |
187 | { | 187 | { |
@@ -194,7 +194,7 @@ public: // IBootstrapperApplication | |||
194 | __in_z LPCWSTR /*wzUpgradeCode*/, | 194 | __in_z LPCWSTR /*wzUpgradeCode*/, |
195 | __in_z LPCWSTR /*wzProductCode*/, | 195 | __in_z LPCWSTR /*wzProductCode*/, |
196 | __in BOOL /*fPerMachine*/, | 196 | __in BOOL /*fPerMachine*/, |
197 | __in LPCWSTR /*wzVersion*/, | 197 | __in_z LPCWSTR /*wzVersion*/, |
198 | __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/, | 198 | __in BOOTSTRAPPER_RELATED_OPERATION /*operation*/, |
199 | __inout BOOL* pfCancel | 199 | __inout BOOL* pfCancel |
200 | ) | 200 | ) |
@@ -294,7 +294,7 @@ public: // IBootstrapperApplication | |||
294 | virtual STDMETHODIMP OnPlanCompatibleMsiPackageBegin( | 294 | virtual STDMETHODIMP OnPlanCompatibleMsiPackageBegin( |
295 | __in_z LPCWSTR /*wzPackageId*/, | 295 | __in_z LPCWSTR /*wzPackageId*/, |
296 | __in_z LPCWSTR /*wzCompatiblePackageId*/, | 296 | __in_z LPCWSTR /*wzCompatiblePackageId*/, |
297 | __in LPCWSTR /*wzCompatiblePackageVersion*/, | 297 | __in_z LPCWSTR /*wzCompatiblePackageVersion*/, |
298 | __in BOOL /*fRecommendedRemove*/, | 298 | __in BOOL /*fRecommendedRemove*/, |
299 | __inout BOOL* /*pfRequestRemove*/, | 299 | __inout BOOL* /*pfRequestRemove*/, |
300 | __inout BOOL* pfCancel | 300 | __inout BOOL* pfCancel |
@@ -976,7 +976,7 @@ public: // IBootstrapperApplication | |||
976 | __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, | 976 | __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, |
977 | __in_z LPCWSTR /*wzBundleTag*/, | 977 | __in_z LPCWSTR /*wzBundleTag*/, |
978 | __in BOOL /*fPerMachine*/, | 978 | __in BOOL /*fPerMachine*/, |
979 | __in LPCWSTR /*wzVersion*/, | 979 | __in_z LPCWSTR /*wzVersion*/, |
980 | __in BOOL /*fRecommendedIgnoreBundle*/, | 980 | __in BOOL /*fRecommendedIgnoreBundle*/, |
981 | __inout BOOL* pfCancel, | 981 | __inout BOOL* pfCancel, |
982 | __inout BOOL* /*pfIgnoreBundle*/ | 982 | __inout BOOL* /*pfIgnoreBundle*/ |
@@ -1109,7 +1109,7 @@ public: // IBootstrapperApplication | |||
1109 | __in_z LPCWSTR /*wzBundleId*/, | 1109 | __in_z LPCWSTR /*wzBundleId*/, |
1110 | __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, | 1110 | __in BOOTSTRAPPER_RELATION_TYPE /*relationType*/, |
1111 | __in BOOL /*fPerMachine*/, | 1111 | __in BOOL /*fPerMachine*/, |
1112 | __in LPCWSTR /*wzVersion*/, | 1112 | __in_z LPCWSTR /*wzVersion*/, |
1113 | __inout BOOL* pfCancel | 1113 | __inout BOOL* pfCancel |
1114 | ) | 1114 | ) |
1115 | { | 1115 | { |
diff --git a/src/api/burn/balutil/inc/balinfo.h b/src/api/burn/balutil/inc/balinfo.h index 3ef3a61a..7c607c44 100644 --- a/src/api/burn/balutil/inc/balinfo.h +++ b/src/api/burn/balutil/inc/balinfo.h | |||
@@ -115,7 +115,7 @@ typedef struct _BAL_INFO_COMMAND | |||
115 | BalInfoParseCommandLine - parses wzCommandLine from BOOTSTRAPPER_COMMAND. | 115 | BalInfoParseCommandLine - parses wzCommandLine from BOOTSTRAPPER_COMMAND. |
116 | 116 | ||
117 | ********************************************************************/ | 117 | ********************************************************************/ |
118 | HRESULT DAPI BalInfoParseCommandLine( | 118 | DAPI_(HRESULT) BalInfoParseCommandLine( |
119 | __in BAL_INFO_COMMAND* pCommand, | 119 | __in BAL_INFO_COMMAND* pCommand, |
120 | __in const BOOTSTRAPPER_COMMAND* pBootstrapperCommand | 120 | __in const BOOTSTRAPPER_COMMAND* pBootstrapperCommand |
121 | ); | 121 | ); |
@@ -181,7 +181,7 @@ DAPI_(void) BalInfoUninitialize( | |||
181 | BalInfoUninitializeCommandLine - uninitializes BAL_INFO_COMMAND. | 181 | BalInfoUninitializeCommandLine - uninitializes BAL_INFO_COMMAND. |
182 | 182 | ||
183 | ********************************************************************/ | 183 | ********************************************************************/ |
184 | void DAPI BalInfoUninitializeCommandLine( | 184 | DAPI_(void) BalInfoUninitializeCommandLine( |
185 | __in BAL_INFO_COMMAND* pCommand | 185 | __in BAL_INFO_COMMAND* pCommand |
186 | ); | 186 | ); |
187 | 187 | ||
@@ -190,7 +190,7 @@ void DAPI BalInfoUninitializeCommandLine( | |||
190 | BalInfoSetOverridableVariablesFromEngine - sets overridable variables from command line. | 190 | BalInfoSetOverridableVariablesFromEngine - sets overridable variables from command line. |
191 | 191 | ||
192 | ********************************************************************/ | 192 | ********************************************************************/ |
193 | HRESULT DAPI BalSetOverridableVariablesFromEngine( | 193 | DAPI_(HRESULT) BalSetOverridableVariablesFromEngine( |
194 | __in BAL_INFO_OVERRIDABLE_VARIABLES* pOverridableVariables, | 194 | __in BAL_INFO_OVERRIDABLE_VARIABLES* pOverridableVariables, |
195 | __in BAL_INFO_COMMAND* pCommand, | 195 | __in BAL_INFO_COMMAND* pCommand, |
196 | __in IBootstrapperEngine* pEngine | 196 | __in IBootstrapperEngine* pEngine |
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); |