diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-03-02 14:19:14 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-03-02 15:40:02 -0600 |
commit | 10ebf674da5df9224e4eddd3545518434c5b455b (patch) | |
tree | ea1f4063edd46e9942eab94dd7adb2f75c6c589e /src/dutil/inc | |
parent | 3bbf1347b900ec115a12faf8f46965c9b7649696 (diff) | |
download | wix-10ebf674da5df9224e4eddd3545518434c5b455b.tar.gz wix-10ebf674da5df9224e4eddd3545518434c5b455b.tar.bz2 wix-10ebf674da5df9224e4eddd3545518434c5b455b.zip |
Update rest of dutil to use their own source with the Exit* macros.
Fix some CA warnings.
Diffstat (limited to 'src/dutil/inc')
-rw-r--r-- | src/dutil/inc/atomutil.h | 2 | ||||
-rw-r--r-- | src/dutil/inc/buffutil.h | 14 | ||||
-rw-r--r-- | src/dutil/inc/conutil.h | 4 | ||||
-rw-r--r-- | src/dutil/inc/deputil.h | 2 | ||||
-rw-r--r-- | src/dutil/inc/dutil.h | 2 | ||||
-rw-r--r-- | src/dutil/inc/eseutil.h | 2 | ||||
-rw-r--r-- | src/dutil/inc/fileutil.h | 2 | ||||
-rw-r--r-- | src/dutil/inc/inetutil.h | 2 | ||||
-rw-r--r-- | src/dutil/inc/iniutil.h | 2 | ||||
-rw-r--r-- | src/dutil/inc/memutil.h | 6 | ||||
-rw-r--r-- | src/dutil/inc/pathutil.h | 6 | ||||
-rw-r--r-- | src/dutil/inc/regutil.h | 8 | ||||
-rw-r--r-- | src/dutil/inc/shelutil.h | 6 | ||||
-rw-r--r-- | src/dutil/inc/strutil.h | 4 | ||||
-rw-r--r-- | src/dutil/inc/thmutil.h | 2 | ||||
-rw-r--r-- | src/dutil/inc/uriutil.h | 2 | ||||
-rw-r--r-- | src/dutil/inc/wiutil.h | 2 |
17 files changed, 34 insertions, 34 deletions
diff --git a/src/dutil/inc/atomutil.h b/src/dutil/inc/atomutil.h index ff869c4a..9acfc1d5 100644 --- a/src/dutil/inc/atomutil.h +++ b/src/dutil/inc/atomutil.h | |||
@@ -138,7 +138,7 @@ HRESULT DAPI AtomParseFromDocument( | |||
138 | ); | 138 | ); |
139 | 139 | ||
140 | void DAPI AtomFreeFeed( | 140 | void DAPI AtomFreeFeed( |
141 | __in_xcount(pFeed->cItems) ATOM_FEED *pFEED | 141 | __in_xcount(pFeed->cItems) ATOM_FEED* pFeed |
142 | ); | 142 | ); |
143 | 143 | ||
144 | #ifdef __cplusplus | 144 | #ifdef __cplusplus |
diff --git a/src/dutil/inc/buffutil.h b/src/dutil/inc/buffutil.h index a718e9c0..7509f76a 100644 --- a/src/dutil/inc/buffutil.h +++ b/src/dutil/inc/buffutil.h | |||
@@ -50,37 +50,37 @@ HRESULT BuffReadStream( | |||
50 | __in_bcount(cbBuffer) const BYTE* pbBuffer, | 50 | __in_bcount(cbBuffer) const BYTE* pbBuffer, |
51 | __in SIZE_T cbBuffer, | 51 | __in SIZE_T cbBuffer, |
52 | __inout SIZE_T* piBuffer, | 52 | __inout SIZE_T* piBuffer, |
53 | __deref_out_bcount(*pcbStream) BYTE** ppbStream, | 53 | __deref_inout_bcount(*pcbStream) BYTE** ppbStream, |
54 | __out SIZE_T* pcbStream | 54 | __out SIZE_T* pcbStream |
55 | ); | 55 | ); |
56 | 56 | ||
57 | HRESULT BuffWriteNumber( | 57 | HRESULT BuffWriteNumber( |
58 | __deref_out_bcount(*piBuffer) BYTE** ppbBuffer, | 58 | __deref_inout_bcount(*piBuffer) BYTE** ppbBuffer, |
59 | __inout SIZE_T* piBuffer, | 59 | __inout SIZE_T* piBuffer, |
60 | __in DWORD_PTR dw | 60 | __in DWORD_PTR dw |
61 | ); | 61 | ); |
62 | HRESULT BuffWriteNumber64( | 62 | HRESULT BuffWriteNumber64( |
63 | __deref_out_bcount(*piBuffer) BYTE** ppbBuffer, | 63 | __deref_inout_bcount(*piBuffer) BYTE** ppbBuffer, |
64 | __inout SIZE_T* piBuffer, | 64 | __inout SIZE_T* piBuffer, |
65 | __in DWORD64 dw64 | 65 | __in DWORD64 dw64 |
66 | ); | 66 | ); |
67 | HRESULT BuffWritePointer( | 67 | HRESULT BuffWritePointer( |
68 | __deref_out_bcount(*piBuffer) BYTE** ppbBuffer, | 68 | __deref_inout_bcount(*piBuffer) BYTE** ppbBuffer, |
69 | __inout SIZE_T* piBuffer, | 69 | __inout SIZE_T* piBuffer, |
70 | __in DWORD_PTR dw | 70 | __in DWORD_PTR dw |
71 | ); | 71 | ); |
72 | HRESULT BuffWriteString( | 72 | HRESULT BuffWriteString( |
73 | __deref_out_bcount(*piBuffer) BYTE** ppbBuffer, | 73 | __deref_inout_bcount(*piBuffer) BYTE** ppbBuffer, |
74 | __inout SIZE_T* piBuffer, | 74 | __inout SIZE_T* piBuffer, |
75 | __in_z_opt LPCWSTR scz | 75 | __in_z_opt LPCWSTR scz |
76 | ); | 76 | ); |
77 | HRESULT BuffWriteStringAnsi( | 77 | HRESULT BuffWriteStringAnsi( |
78 | __deref_out_bcount(*piBuffer) BYTE** ppbBuffer, | 78 | __deref_inout_bcount(*piBuffer) BYTE** ppbBuffer, |
79 | __inout SIZE_T* piBuffer, | 79 | __inout SIZE_T* piBuffer, |
80 | __in_z_opt LPCSTR scz | 80 | __in_z_opt LPCSTR scz |
81 | ); | 81 | ); |
82 | HRESULT BuffWriteStream( | 82 | HRESULT BuffWriteStream( |
83 | __deref_out_bcount(*piBuffer) BYTE** ppbBuffer, | 83 | __deref_inout_bcount(*piBuffer) BYTE** ppbBuffer, |
84 | __inout SIZE_T* piBuffer, | 84 | __inout SIZE_T* piBuffer, |
85 | __in_bcount(cbStream) const BYTE* pbStream, | 85 | __in_bcount(cbStream) const BYTE* pbStream, |
86 | __in SIZE_T cbStream | 86 | __in SIZE_T cbStream |
diff --git a/src/dutil/inc/conutil.h b/src/dutil/inc/conutil.h index 5f611d01..38aaea84 100644 --- a/src/dutil/inc/conutil.h +++ b/src/dutil/inc/conutil.h | |||
@@ -55,12 +55,12 @@ HRESULT DAPI ConsoleReadW( | |||
55 | ); | 55 | ); |
56 | 56 | ||
57 | HRESULT DAPI ConsoleReadStringA( | 57 | HRESULT DAPI ConsoleReadStringA( |
58 | __deref_out_ecount_part(cchCharBuffer,*pcchNumCharReturn) LPSTR* szCharBuffer, | 58 | __deref_inout_ecount_part(cchCharBuffer,*pcchNumCharReturn) LPSTR* szCharBuffer, |
59 | CONST DWORD cchCharBuffer, | 59 | CONST DWORD cchCharBuffer, |
60 | __out DWORD* pcchNumCharReturn | 60 | __out DWORD* pcchNumCharReturn |
61 | ); | 61 | ); |
62 | HRESULT DAPI ConsoleReadStringW( | 62 | HRESULT DAPI ConsoleReadStringW( |
63 | __deref_out_ecount_part(cchCharBuffer,*pcchNumCharReturn) LPWSTR* szCharBuffer, | 63 | __deref_inout_ecount_part(cchCharBuffer,*pcchNumCharReturn) LPWSTR* szCharBuffer, |
64 | CONST DWORD cchCharBuffer, | 64 | CONST DWORD cchCharBuffer, |
65 | __out DWORD* pcchNumCharReturn | 65 | __out DWORD* pcchNumCharReturn |
66 | ); | 66 | ); |
diff --git a/src/dutil/inc/deputil.h b/src/dutil/inc/deputil.h index 8f5f0ae8..bfe235f3 100644 --- a/src/dutil/inc/deputil.h +++ b/src/dutil/inc/deputil.h | |||
@@ -55,7 +55,7 @@ DAPI_(HRESULT) DepCheckDependency( | |||
55 | DAPI_(HRESULT) DepCheckDependents( | 55 | DAPI_(HRESULT) DepCheckDependents( |
56 | __in HKEY hkHive, | 56 | __in HKEY hkHive, |
57 | __in_z LPCWSTR wzProviderKey, | 57 | __in_z LPCWSTR wzProviderKey, |
58 | __in int iAttributes, | 58 | __reserved int iAttributes, |
59 | __in C_STRINGDICT_HANDLE sdIgnoredDependents, | 59 | __in C_STRINGDICT_HANDLE sdIgnoredDependents, |
60 | __deref_inout_ecount_opt(*pcDependents) DEPENDENCY** prgDependents, | 60 | __deref_inout_ecount_opt(*pcDependents) DEPENDENCY** prgDependents, |
61 | __inout LPUINT pcDependents | 61 | __inout LPUINT pcDependents |
diff --git a/src/dutil/inc/dutil.h b/src/dutil/inc/dutil.h index 15d45d21..fc9ec0f4 100644 --- a/src/dutil/inc/dutil.h +++ b/src/dutil/inc/dutil.h | |||
@@ -44,7 +44,7 @@ void DAPI DutilUninitialize(); | |||
44 | void DAPI Dutil_SetAssertModule(__in HMODULE hAssertModule); | 44 | void DAPI Dutil_SetAssertModule(__in HMODULE hAssertModule); |
45 | void DAPI Dutil_SetAssertDisplayFunction(__in DUTIL_ASSERTDISPLAYFUNCTION pfn); | 45 | void DAPI Dutil_SetAssertDisplayFunction(__in DUTIL_ASSERTDISPLAYFUNCTION pfn); |
46 | void DAPI Dutil_Assert(__in_z LPCSTR szFile, __in int iLine); | 46 | void DAPI Dutil_Assert(__in_z LPCSTR szFile, __in int iLine); |
47 | void DAPI Dutil_AssertSz(__in_z LPCSTR szFile, __in int iLine, __in_z LPCSTR szMessage); | 47 | void DAPI Dutil_AssertSz(__in_z LPCSTR szFile, __in int iLine, __in_z __format_string LPCSTR szMessage); |
48 | 48 | ||
49 | void DAPI Dutil_TraceSetLevel(__in REPORT_LEVEL ll, __in BOOL fTraceFilenames); | 49 | void DAPI Dutil_TraceSetLevel(__in REPORT_LEVEL ll, __in BOOL fTraceFilenames); |
50 | REPORT_LEVEL DAPI Dutil_TraceGetLevel(); | 50 | REPORT_LEVEL DAPI Dutil_TraceGetLevel(); |
diff --git a/src/dutil/inc/eseutil.h b/src/dutil/inc/eseutil.h index 1c408927..bea47b2b 100644 --- a/src/dutil/inc/eseutil.h +++ b/src/dutil/inc/eseutil.h | |||
@@ -160,7 +160,7 @@ HRESULT DAPI EseGetColumnBinary( | |||
160 | __in JET_SESID jsSession, | 160 | __in JET_SESID jsSession, |
161 | __in ESE_TABLE_SCHEMA tsTable, | 161 | __in ESE_TABLE_SCHEMA tsTable, |
162 | __in DWORD dwColumn, | 162 | __in DWORD dwColumn, |
163 | __deref_out_bcount(*piBuffer) BYTE** ppbBuffer, | 163 | __deref_inout_bcount(*piBuffer) BYTE** ppbBuffer, |
164 | __inout SIZE_T* piBuffer | 164 | __inout SIZE_T* piBuffer |
165 | ); | 165 | ); |
166 | HRESULT DAPI EseGetColumnDword( | 166 | HRESULT DAPI EseGetColumnDword( |
diff --git a/src/dutil/inc/fileutil.h b/src/dutil/inc/fileutil.h index d2b2f4fe..7caa62b8 100644 --- a/src/dutil/inc/fileutil.h +++ b/src/dutil/inc/fileutil.h | |||
@@ -121,7 +121,7 @@ HRESULT DAPI FileReadPartial( | |||
121 | __in BOOL fPartialOK | 121 | __in BOOL fPartialOK |
122 | ); | 122 | ); |
123 | HRESULT DAPI FileReadPartialEx( | 123 | HRESULT DAPI FileReadPartialEx( |
124 | __deref_out_bcount_full(*pcbDest) LPBYTE* ppbDest, | 124 | __deref_inout_bcount_full(*pcbDest) LPBYTE* ppbDest, |
125 | __out_range(<=, cbMaxRead) SIZE_T* pcbDest, | 125 | __out_range(<=, cbMaxRead) SIZE_T* pcbDest, |
126 | __in_z LPCWSTR wzSrcPath, | 126 | __in_z LPCWSTR wzSrcPath, |
127 | __in BOOL fSeek, | 127 | __in BOOL fSeek, |
diff --git a/src/dutil/inc/inetutil.h b/src/dutil/inc/inetutil.h index 4cbf510b..19ace88b 100644 --- a/src/dutil/inc/inetutil.h +++ b/src/dutil/inc/inetutil.h | |||
@@ -30,7 +30,7 @@ HRESULT DAPI InternetQueryInfoString( | |||
30 | HRESULT DAPI InternetQueryInfoNumber( | 30 | HRESULT DAPI InternetQueryInfoNumber( |
31 | __in HINTERNET h, | 31 | __in HINTERNET h, |
32 | __in DWORD dwInfo, | 32 | __in DWORD dwInfo, |
33 | __out LONG* plInfo | 33 | __inout LONG* plInfo |
34 | ); | 34 | ); |
35 | 35 | ||
36 | #ifdef __cplusplus | 36 | #ifdef __cplusplus |
diff --git a/src/dutil/inc/iniutil.h b/src/dutil/inc/iniutil.h index d5b50c17..c8503155 100644 --- a/src/dutil/inc/iniutil.h +++ b/src/dutil/inc/iniutil.h | |||
@@ -55,7 +55,7 @@ HRESULT DAPI IniParse( | |||
55 | // (their value will be NULL) | 55 | // (their value will be NULL) |
56 | HRESULT DAPI IniGetValueList( | 56 | HRESULT DAPI IniGetValueList( |
57 | __in_bcount(INI_HANDLE_BYTES) INI_HANDLE piHandle, | 57 | __in_bcount(INI_HANDLE_BYTES) INI_HANDLE piHandle, |
58 | __deref_out_ecount_opt(pcValues) INI_VALUE** prgivValues, | 58 | __deref_out_ecount_opt(*pcValues) INI_VALUE** prgivValues, |
59 | __out DWORD *pcValues | 59 | __out DWORD *pcValues |
60 | ); | 60 | ); |
61 | HRESULT DAPI IniGetValue( | 61 | HRESULT DAPI IniGetValue( |
diff --git a/src/dutil/inc/memutil.h b/src/dutil/inc/memutil.h index 93e53228..49f86e0a 100644 --- a/src/dutil/inc/memutil.h +++ b/src/dutil/inc/memutil.h | |||
@@ -39,13 +39,13 @@ HRESULT DAPI MemReAllocArray( | |||
39 | __in DWORD dwNewItemCount | 39 | __in DWORD dwNewItemCount |
40 | ); | 40 | ); |
41 | HRESULT DAPI MemEnsureArraySize( | 41 | HRESULT DAPI MemEnsureArraySize( |
42 | __deref_out_bcount(cArray * cbArrayType) LPVOID* ppvArray, | 42 | __deref_inout_bcount(cArray * cbArrayType) LPVOID* ppvArray, |
43 | __in DWORD cArray, | 43 | __in DWORD cArray, |
44 | __in SIZE_T cbArrayType, | 44 | __in SIZE_T cbArrayType, |
45 | __in DWORD dwGrowthCount | 45 | __in DWORD dwGrowthCount |
46 | ); | 46 | ); |
47 | HRESULT DAPI MemInsertIntoArray( | 47 | HRESULT DAPI MemInsertIntoArray( |
48 | __deref_out_bcount((cExistingArray + cInsertItems) * cbArrayType) LPVOID* ppvArray, | 48 | __deref_inout_bcount((cExistingArray + cInsertItems) * cbArrayType) LPVOID* ppvArray, |
49 | __in DWORD dwInsertIndex, | 49 | __in DWORD dwInsertIndex, |
50 | __in DWORD cInsertItems, | 50 | __in DWORD cInsertItems, |
51 | __in DWORD cExistingArray, | 51 | __in DWORD cExistingArray, |
@@ -61,7 +61,7 @@ void DAPI MemRemoveFromArray( | |||
61 | __in BOOL fPreserveOrder | 61 | __in BOOL fPreserveOrder |
62 | ); | 62 | ); |
63 | void DAPI MemArraySwapItems( | 63 | void DAPI MemArraySwapItems( |
64 | __inout_bcount((cExistingArray) * cbArrayType) LPVOID pvArray, | 64 | __inout_bcount(cbArrayType) LPVOID pvArray, |
65 | __in DWORD dwIndex1, | 65 | __in DWORD dwIndex1, |
66 | __in DWORD dwIndex2, | 66 | __in DWORD dwIndex2, |
67 | __in SIZE_T cbArrayType | 67 | __in SIZE_T cbArrayType |
diff --git a/src/dutil/inc/pathutil.h b/src/dutil/inc/pathutil.h index bee8ed1b..f4f4e59c 100644 --- a/src/dutil/inc/pathutil.h +++ b/src/dutil/inc/pathutil.h | |||
@@ -19,7 +19,7 @@ typedef enum PATH_EXPAND | |||
19 | (i.e. quote arguments with spaces in them). | 19 | (i.e. quote arguments with spaces in them). |
20 | ********************************************************************/ | 20 | ********************************************************************/ |
21 | DAPI_(HRESULT) PathCommandLineAppend( | 21 | DAPI_(HRESULT) PathCommandLineAppend( |
22 | __deref_out_z LPWSTR* psczCommandLine, | 22 | __deref_inout_z LPWSTR* psczCommandLine, |
23 | __in_z LPCWSTR wzArgument | 23 | __in_z LPCWSTR wzArgument |
24 | ); | 24 | ); |
25 | 25 | ||
@@ -43,7 +43,7 @@ DAPI_(LPCWSTR) PathExtension( | |||
43 | ********************************************************************/ | 43 | ********************************************************************/ |
44 | DAPI_(HRESULT) PathGetDirectory( | 44 | DAPI_(HRESULT) PathGetDirectory( |
45 | __in_z LPCWSTR wzPath, | 45 | __in_z LPCWSTR wzPath, |
46 | __out LPWSTR *psczDirectory | 46 | __out_z LPWSTR *psczDirectory |
47 | ); | 47 | ); |
48 | 48 | ||
49 | /******************************************************************* | 49 | /******************************************************************* |
@@ -206,7 +206,7 @@ DAPI_(HRESULT) PathCompress( | |||
206 | *******************************************************************/ | 206 | *******************************************************************/ |
207 | DAPI_(HRESULT) PathGetHierarchyArray( | 207 | DAPI_(HRESULT) PathGetHierarchyArray( |
208 | __in_z LPCWSTR wzPath, | 208 | __in_z LPCWSTR wzPath, |
209 | __deref_inout_ecount_opt(*pcStrArray) LPWSTR **prgsczPathArray, | 209 | __deref_inout_ecount_opt(*pcPathArray) LPWSTR **prgsczPathArray, |
210 | __inout LPUINT pcPathArray | 210 | __inout LPUINT pcPathArray |
211 | ); | 211 | ); |
212 | 212 | ||
diff --git a/src/dutil/inc/regutil.h b/src/dutil/inc/regutil.h index 897b9d03..2f09d244 100644 --- a/src/dutil/inc/regutil.h +++ b/src/dutil/inc/regutil.h | |||
@@ -50,7 +50,7 @@ typedef LSTATUS (APIENTRY *PFN_REGENUMKEYEXW)( | |||
50 | __out LPWSTR lpName, | 50 | __out LPWSTR lpName, |
51 | __inout LPDWORD lpcName, | 51 | __inout LPDWORD lpcName, |
52 | __reserved LPDWORD lpReserved, | 52 | __reserved LPDWORD lpReserved, |
53 | __inout LPWSTR lpClass, | 53 | __inout_opt LPWSTR lpClass, |
54 | __inout_opt LPDWORD lpcClass, | 54 | __inout_opt LPDWORD lpcClass, |
55 | __out_opt PFILETIME lpftLastWriteTime | 55 | __out_opt PFILETIME lpftLastWriteTime |
56 | ); | 56 | ); |
@@ -66,7 +66,7 @@ typedef LSTATUS (APIENTRY *PFN_REGENUMVALUEW)( | |||
66 | ); | 66 | ); |
67 | typedef LSTATUS (APIENTRY *PFN_REGQUERYINFOKEYW)( | 67 | typedef LSTATUS (APIENTRY *PFN_REGQUERYINFOKEYW)( |
68 | __in HKEY hKey, | 68 | __in HKEY hKey, |
69 | __out LPWSTR lpClass, | 69 | __out_opt LPWSTR lpClass, |
70 | __inout_opt LPDWORD lpcClass, | 70 | __inout_opt LPDWORD lpcClass, |
71 | __reserved LPDWORD lpReserved, | 71 | __reserved LPDWORD lpReserved, |
72 | __out_opt LPDWORD lpcSubKeys, | 72 | __out_opt LPDWORD lpcSubKeys, |
@@ -170,7 +170,7 @@ HRESULT DAPI RegReadString( | |||
170 | HRESULT DAPI RegReadStringArray( | 170 | HRESULT DAPI RegReadStringArray( |
171 | __in HKEY hk, | 171 | __in HKEY hk, |
172 | __in_z_opt LPCWSTR wzName, | 172 | __in_z_opt LPCWSTR wzName, |
173 | __deref_out_ecount_opt(pcStrings) LPWSTR** prgsczStrings, | 173 | __deref_out_ecount_opt(*pcStrings) LPWSTR** prgsczStrings, |
174 | __out DWORD *pcStrings | 174 | __out DWORD *pcStrings |
175 | ); | 175 | ); |
176 | HRESULT DAPI RegReadVersion( | 176 | HRESULT DAPI RegReadVersion( |
@@ -202,7 +202,7 @@ HRESULT DAPI RegWriteString( | |||
202 | HRESULT DAPI RegWriteStringArray( | 202 | HRESULT DAPI RegWriteStringArray( |
203 | __in HKEY hk, | 203 | __in HKEY hk, |
204 | __in_z_opt LPCWSTR wzName, | 204 | __in_z_opt LPCWSTR wzName, |
205 | __in_ecount(cValues) LPWSTR *rgwzStrings, | 205 | __in_ecount(cStrings) LPWSTR *rgwzStrings, |
206 | __in DWORD cStrings | 206 | __in DWORD cStrings |
207 | ); | 207 | ); |
208 | HRESULT DAPI RegWriteStringFormatted( | 208 | HRESULT DAPI RegWriteStringFormatted( |
diff --git a/src/dutil/inc/shelutil.h b/src/dutil/inc/shelutil.h index 21e82672..0b9f539d 100644 --- a/src/dutil/inc/shelutil.h +++ b/src/dutil/inc/shelutil.h | |||
@@ -19,9 +19,9 @@ void DAPI ShelFunctionOverride( | |||
19 | ); | 19 | ); |
20 | HRESULT DAPI ShelExec( | 20 | HRESULT DAPI ShelExec( |
21 | __in_z LPCWSTR wzTargetPath, | 21 | __in_z LPCWSTR wzTargetPath, |
22 | __in_opt LPCWSTR wzParameters, | 22 | __in_z_opt LPCWSTR wzParameters, |
23 | __in_opt LPCWSTR wzVerb, | 23 | __in_z_opt LPCWSTR wzVerb, |
24 | __in_opt LPCWSTR wzWorkingDirectory, | 24 | __in_z_opt LPCWSTR wzWorkingDirectory, |
25 | __in int nShowCmd, | 25 | __in int nShowCmd, |
26 | __in_opt HWND hwndParent, | 26 | __in_opt HWND hwndParent, |
27 | __out_opt HANDLE* phProcess | 27 | __out_opt HANDLE* phProcess |
diff --git a/src/dutil/inc/strutil.h b/src/dutil/inc/strutil.h index 187bfda8..cf8c751c 100644 --- a/src/dutil/inc/strutil.h +++ b/src/dutil/inc/strutil.h | |||
@@ -198,7 +198,7 @@ HRESULT DAPI StrAllocBase85Decode( | |||
198 | 198 | ||
199 | HRESULT DAPI MultiSzLen( | 199 | HRESULT DAPI MultiSzLen( |
200 | __in_ecount(*pcch) __nullnullterminated LPCWSTR pwzMultiSz, | 200 | __in_ecount(*pcch) __nullnullterminated LPCWSTR pwzMultiSz, |
201 | __out SIZE_T* pcbch | 201 | __out SIZE_T* pcch |
202 | ); | 202 | ); |
203 | HRESULT DAPI MultiSzPrepend( | 203 | HRESULT DAPI MultiSzPrepend( |
204 | __deref_inout_ecount(*pcchMultiSz) __nullnullterminated LPWSTR* ppwzMultiSz, | 204 | __deref_inout_ecount(*pcchMultiSz) __nullnullterminated LPWSTR* ppwzMultiSz, |
@@ -222,7 +222,7 @@ HRESULT DAPI MultiSzRemoveString( | |||
222 | __in DWORD_PTR dwIndex | 222 | __in DWORD_PTR dwIndex |
223 | ); | 223 | ); |
224 | HRESULT DAPI MultiSzInsertString( | 224 | HRESULT DAPI MultiSzInsertString( |
225 | __deref_inout_z LPWSTR* ppwzMultiSz, | 225 | __deref_inout __nullnullterminated LPWSTR* ppwzMultiSz, |
226 | __inout_opt SIZE_T* pcchMultiSz, | 226 | __inout_opt SIZE_T* pcchMultiSz, |
227 | __in DWORD_PTR dwIndex, | 227 | __in DWORD_PTR dwIndex, |
228 | __in_z LPCWSTR pwzInsert | 228 | __in_z LPCWSTR pwzInsert |
diff --git a/src/dutil/inc/thmutil.h b/src/dutil/inc/thmutil.h index 11eac9c2..d3dd6d21 100644 --- a/src/dutil/inc/thmutil.h +++ b/src/dutil/inc/thmutil.h | |||
@@ -737,7 +737,7 @@ HRESULT DAPI ThemeSetTextControlEx( | |||
737 | HRESULT DAPI ThemeGetTextControl( | 737 | HRESULT DAPI ThemeGetTextControl( |
738 | __in const THEME* pTheme, | 738 | __in const THEME* pTheme, |
739 | __in DWORD dwControl, | 739 | __in DWORD dwControl, |
740 | __out_z LPWSTR* psczText | 740 | __inout_z LPWSTR* psczText |
741 | ); | 741 | ); |
742 | 742 | ||
743 | /******************************************************************** | 743 | /******************************************************************** |
diff --git a/src/dutil/inc/uriutil.h b/src/dutil/inc/uriutil.h index 52e78308..d6dfdd6b 100644 --- a/src/dutil/inc/uriutil.h +++ b/src/dutil/inc/uriutil.h | |||
@@ -91,7 +91,7 @@ HRESULT DAPI UriResolve( | |||
91 | __in_z LPCWSTR wzUri, | 91 | __in_z LPCWSTR wzUri, |
92 | __in_opt LPCWSTR wzBaseUri, | 92 | __in_opt LPCWSTR wzBaseUri, |
93 | __out LPWSTR* ppwzResolvedUri, | 93 | __out LPWSTR* ppwzResolvedUri, |
94 | __out_opt const URI_PROTOCOL* pResolvedProtocol | 94 | __out_opt URI_PROTOCOL* pResolvedProtocol |
95 | ); | 95 | ); |
96 | 96 | ||
97 | #ifdef __cplusplus | 97 | #ifdef __cplusplus |
diff --git a/src/dutil/inc/wiutil.h b/src/dutil/inc/wiutil.h index 10d003b0..9c2de209 100644 --- a/src/dutil/inc/wiutil.h +++ b/src/dutil/inc/wiutil.h | |||
@@ -330,7 +330,7 @@ HRESULT DAPI WiuEnumRelatedProducts( | |||
330 | ); | 330 | ); |
331 | HRESULT DAPI WiuEnumRelatedProductCodes( | 331 | HRESULT DAPI WiuEnumRelatedProductCodes( |
332 | __in_z LPCWSTR wzUpgradeCode, | 332 | __in_z LPCWSTR wzUpgradeCode, |
333 | __deref_out_ecount_opt(pcRelatedProducts) LPWSTR** prgsczProductCodes, | 333 | __deref_out_ecount_opt(*pcRelatedProducts) LPWSTR** prgsczProductCodes, |
334 | __out DWORD* pcRelatedProducts, | 334 | __out DWORD* pcRelatedProducts, |
335 | __in BOOL fReturnHighestVersionOnly | 335 | __in BOOL fReturnHighestVersionOnly |
336 | ); | 336 | ); |