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
5f442207
Commit
5f442207
authored
Aug 06, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Aug 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Forward MsiQueryComponentStateA to MsiQueryComponentStateW.
parent
072adfa9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
3 deletions
+34
-3
msi.c
dlls/msi/msi.c
+33
-2
msi.spec
dlls/msi/msi.spec
+1
-1
No files found.
dlls/msi/msi.c
View file @
5f442207
...
...
@@ -732,9 +732,40 @@ UINT WINAPI MsiEnableLogW(DWORD dwLogMode, LPCWSTR szLogFile, DWORD attributes)
return
ERROR_SUCCESS
;
}
UINT
WINAPI
MsiQueryComponentStateA
(
LPCSTR
szProductCode
,
LPCSTR
szUserSid
,
MSIINSTALLCONTEXT
dwContext
,
LPCSTR
szComponent
,
INSTALLSTATE
*
pdwState
)
UINT
WINAPI
MsiQueryComponentStateA
(
LPCSTR
szProductCode
,
LPCSTR
szUserSid
,
MSIINSTALLCONTEXT
dwContext
,
LPCSTR
szComponent
,
INSTALLSTATE
*
pdwState
)
{
FIXME
(
"(%s, %s, %d, %s, %p): stub!
\n
"
,
debugstr_a
(
szProductCode
),
debugstr_a
(
szUserSid
),
dwContext
,
debugstr_a
(
szComponent
),
pdwState
);
LPWSTR
prodcode
=
NULL
,
usersid
=
NULL
,
comp
=
NULL
;
UINT
r
;
TRACE
(
"(%s, %s, %d, %s, %p)
\n
"
,
debugstr_a
(
szProductCode
),
debugstr_a
(
szUserSid
),
dwContext
,
debugstr_a
(
szComponent
),
pdwState
);
if
(
szProductCode
&&
!
(
prodcode
=
strdupAtoW
(
szProductCode
)))
return
ERROR_OUTOFMEMORY
;
if
(
szUserSid
&&
!
(
usersid
=
strdupAtoW
(
szUserSid
)))
return
ERROR_OUTOFMEMORY
;
if
(
szComponent
&&
!
(
comp
=
strdupAtoW
(
szComponent
)))
return
ERROR_OUTOFMEMORY
;
r
=
MsiQueryComponentStateW
(
prodcode
,
usersid
,
dwContext
,
comp
,
pdwState
);
msi_free
(
prodcode
);
msi_free
(
usersid
);
msi_free
(
comp
);
return
r
;
}
UINT
WINAPI
MsiQueryComponentStateW
(
LPCWSTR
szProductCode
,
LPCWSTR
szUserSid
,
MSIINSTALLCONTEXT
dwContext
,
LPCWSTR
szComponent
,
INSTALLSTATE
*
pdwState
)
{
FIXME
(
"(%s, %s, %d, %s, %p): stub!
\n
"
,
debugstr_w
(
szProductCode
),
debugstr_w
(
szUserSid
),
dwContext
,
debugstr_w
(
szComponent
),
pdwState
);
if
(
!
pdwState
)
return
ERROR_INVALID_PARAMETER
;
...
...
dlls/msi/msi.spec
View file @
5f442207
...
...
@@ -243,7 +243,7 @@
247 stub MsiGetProductInfoExA
248 stub MsiGetProductInfoExW
249 stdcall MsiQueryComponentStateA(str str long str ptr)
250 st
ub MsiQueryComponentStateW
250 st
dcall MsiQueryComponentStateW(wstr wstr long wstr ptr)
251 stub MsiQueryFeatureStateExA
252 stub MsiQueryFeatureStateExW
253 stub MsiDeterminePatchSequenceA
...
...
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