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
f1f687e6
Commit
f1f687e6
authored
May 17, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
May 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: automation: Change non-const LPCWSTR parameters to LPWSTR.
parent
82cfed96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
automation.c
dlls/msi/tests/automation.c
+6
-6
No files found.
dlls/msi/tests/automation.c
View file @
f1f687e6
...
...
@@ -804,14 +804,14 @@ static HRESULT Installer_RelatedProducts(LPCWSTR szProduct, IDispatch **pStringL
return
hr
;
}
static
HRESULT
Installer_VersionGet
(
LP
C
WSTR
szVersion
)
static
HRESULT
Installer_VersionGet
(
LPWSTR
szVersion
)
{
VARIANT
varresult
;
DISPPARAMS
dispparams
=
{
NULL
,
NULL
,
0
,
0
};
HRESULT
hr
;
hr
=
invoke
(
pInstaller
,
"Version"
,
DISPATCH_PROPERTYGET
,
&
dispparams
,
&
varresult
,
VT_BSTR
);
lstrcpyW
(
(
WCHAR
*
)
szVersion
,
V_BSTR
(
&
varresult
));
lstrcpyW
(
szVersion
,
V_BSTR
(
&
varresult
));
VariantClear
(
&
varresult
);
return
hr
;
}
...
...
@@ -827,7 +827,7 @@ static HRESULT Session_Installer(IDispatch *pSession, IDispatch **pInst)
return
hr
;
}
static
HRESULT
Session_PropertyGet
(
IDispatch
*
pSession
,
LPCWSTR
szName
,
LP
C
WSTR
szReturn
)
static
HRESULT
Session_PropertyGet
(
IDispatch
*
pSession
,
LPCWSTR
szName
,
LPWSTR
szReturn
)
{
VARIANT
varresult
;
VARIANTARG
vararg
[
1
];
...
...
@@ -839,7 +839,7 @@ static HRESULT Session_PropertyGet(IDispatch *pSession, LPCWSTR szName, LPCWSTR
V_BSTR
(
&
vararg
[
0
])
=
SysAllocString
(
szName
);
hr
=
invoke
(
pSession
,
"Property"
,
DISPATCH_PROPERTYGET
,
&
dispparams
,
&
varresult
,
VT_BSTR
);
lstrcpyW
(
(
WCHAR
*
)
szReturn
,
V_BSTR
(
&
varresult
));
lstrcpyW
(
szReturn
,
V_BSTR
(
&
varresult
));
VariantClear
(
&
varresult
);
return
hr
;
}
...
...
@@ -1089,7 +1089,7 @@ static HRESULT Record_FieldCountGet(IDispatch *pRecord, int *pFieldCount)
return
hr
;
}
static
HRESULT
Record_StringDataGet
(
IDispatch
*
pRecord
,
int
iField
,
LP
C
WSTR
szString
)
static
HRESULT
Record_StringDataGet
(
IDispatch
*
pRecord
,
int
iField
,
LPWSTR
szString
)
{
VARIANT
varresult
;
VARIANTARG
vararg
[
1
];
...
...
@@ -1101,7 +1101,7 @@ static HRESULT Record_StringDataGet(IDispatch *pRecord, int iField, LPCWSTR szSt
V_I4
(
&
vararg
[
0
])
=
iField
;
hr
=
invoke
(
pRecord
,
"StringData"
,
DISPATCH_PROPERTYGET
,
&
dispparams
,
&
varresult
,
VT_BSTR
);
lstrcpyW
(
(
WCHAR
*
)
szString
,
V_BSTR
(
&
varresult
));
lstrcpyW
(
szString
,
V_BSTR
(
&
varresult
));
VariantClear
(
&
varresult
);
return
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