@@ -183,8 +183,7 @@ BOOLEAN PhInitializeLxssImageVersionInfo(
183
183
lxssDistroName -> Buffer ,
184
184
lxssCommandLine -> Buffer ,
185
185
NULL ,
186
- & result ,
187
- NULL
186
+ & result
188
187
);
189
188
190
189
if (status == 0 )
@@ -201,8 +200,7 @@ BOOLEAN PhInitializeLxssImageVersionInfo(
201
200
lxssDistroName -> Buffer ,
202
201
lxssCommandLine -> Buffer ,
203
202
NULL ,
204
- & result ,
205
- NULL
203
+ & result
206
204
);
207
205
208
206
if (status != 0 )
@@ -244,8 +242,7 @@ BOOLEAN PhInitializeLxssImageVersionInfo(
244
242
lxssDistroName -> Buffer ,
245
243
lxssCommandLine -> Buffer ,
246
244
NULL ,
247
- & result ,
248
- NULL
245
+ & result
249
246
);
250
247
251
248
if (status != 0 )
@@ -269,7 +266,7 @@ BOOLEAN PhInitializeLxssImageVersionInfo(
269
266
PH_STRINGREF descriptionPart ;
270
267
PH_STRINGREF versionPart ;
271
268
272
- remainingPart = result -> sr ;
269
+ remainingPart = PhGetStringRef ( result ) ;
273
270
PhSplitStringRefAtChar (& remainingPart , '|' , & versionPart , & remainingPart );
274
271
PhSplitStringRefAtChar (& remainingPart , '|' , & companyPart , & remainingPart );
275
272
PhSplitStringRefAtChar (& remainingPart , '|' , & descriptionPart , & remainingPart );
@@ -296,8 +293,7 @@ ULONG PhCreateProcessLxss(
296
293
_In_ PWSTR LxssDistribution ,
297
294
_In_ PWSTR LxssCommandLine ,
298
295
_In_opt_ PWSTR LxssCurrentDirectory ,
299
- _Out_ PPH_STRING * Result ,
300
- _Out_opt_ PHANDLE ProcessHandle
296
+ _Out_ PPH_STRING * Result
301
297
)
302
298
{
303
299
NTSTATUS status ;
0 commit comments