Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d4a27358
Commit
d4a27358
authored
Aug 15, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Aug 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Use the bare minimum number of parameters for LookupAccountName.
parent
398098ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
source.c
dlls/msi/source.c
+3
-2
No files found.
dlls/msi/source.c
View file @
d4a27358
...
...
@@ -407,14 +407,15 @@ UINT WINAPI MsiSourceListAddSourceW( LPCWSTR szProduct, LPCWSTR szUserName,
INT
ret
;
LPWSTR
sidstr
=
NULL
;
DWORD
sidsize
=
0
;
DWORD
domsize
=
0
;
TRACE
(
"%s %s %s
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szUserName
),
debugstr_w
(
szSource
));
if
(
LookupAccountNameW
(
NULL
,
szUserName
,
NULL
,
&
sidsize
,
NULL
,
NULL
,
NULL
))
if
(
LookupAccountNameW
(
NULL
,
szUserName
,
NULL
,
&
sidsize
,
NULL
,
&
domsize
,
NULL
))
{
PSID
psid
=
msi_alloc
(
sidsize
);
if
(
LookupAccountNameW
(
NULL
,
szUserName
,
psid
,
&
sidsize
,
NULL
,
NULL
,
NULL
))
if
(
LookupAccountNameW
(
NULL
,
szUserName
,
psid
,
&
sidsize
,
NULL
,
&
domsize
,
NULL
))
ConvertSidToStringSidW
(
psid
,
&
sidstr
);
msi_free
(
psid
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment