Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b6bea541
Commit
b6bea541
authored
Feb 16, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Remove dead assignments.
parent
b1d4d2b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
automation.c
dlls/msi/tests/automation.c
+2
-2
No files found.
dlls/msi/tests/automation.c
View file @
b6bea541
...
...
@@ -489,7 +489,7 @@ static DISPID get_dispid( IDispatch *disp, const char *name )
str
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
)
);
if
(
str
)
{
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
name
,
-
1
,
str
,
len
);
MultiByteToWideChar
(
CP_ACP
,
0
,
name
,
-
1
,
str
,
len
);
r
=
IDispatch_GetIDsOfNames
(
disp
,
&
IID_NULL
,
&
str
,
1
,
0
,
&
id
);
HeapFree
(
GetProcessHeap
(),
0
,
str
);
if
(
r
!=
S_OK
)
...
...
@@ -871,7 +871,7 @@ static HRESULT invoke(IDispatch *pDispatch, LPCSTR szName, WORD wFlags, DISPPARA
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
szName
,
-
1
,
NULL
,
0
);
name
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
)
);
if
(
!
name
)
return
E_FAIL
;
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
szName
,
-
1
,
name
,
len
);
MultiByteToWideChar
(
CP_ACP
,
0
,
szName
,
-
1
,
name
,
len
);
hr
=
IDispatch_GetIDsOfNames
(
pDispatch
,
&
IID_NULL
,
&
name
,
1
,
LOCALE_USER_DEFAULT
,
&
dispid
);
HeapFree
(
GetProcessHeap
(),
0
,
name
);
ok
(
hr
==
S_OK
,
"IDispatch::GetIDsOfNames returned 0x%08x
\n
"
,
hr
);
...
...
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