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
ee89cfca
Commit
ee89cfca
authored
Jun 25, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Jun 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add a stub implementation of MsiQueryComponentStateA.
parent
46222aee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
msi.c
dlls/msi/msi.c
+11
-0
msi.spec
dlls/msi/msi.spec
+1
-1
msi.h
include/msi.h
+4
-0
No files found.
dlls/msi/msi.c
View file @
ee89cfca
...
...
@@ -732,6 +732,17 @@ UINT WINAPI MsiEnableLogW(DWORD dwLogMode, LPCWSTR szLogFile, DWORD attributes)
return
ERROR_SUCCESS
;
}
UINT
WINAPI
MsiQueryComponentStateA
(
LPSTR
szProductCode
,
LPSTR
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
);
if
(
!
pdwState
)
return
ERROR_INVALID_PARAMETER
;
*
pdwState
=
INSTALLSTATE_UNKNOWN
;
return
ERROR_UNKNOWN_PRODUCT
;
}
INSTALLSTATE
WINAPI
MsiQueryProductStateA
(
LPCSTR
szProduct
)
{
LPWSTR
szwProduct
=
NULL
;
...
...
dlls/msi/msi.spec
View file @
ee89cfca
...
...
@@ -242,7 +242,7 @@
246 stdcall MsiEnumProductsExW(wstr wstr long long ptr ptr ptr ptr)
247 stub MsiGetProductInfoExA
248 stub MsiGetProductInfoExW
249 st
ub MsiQueryComponentStateA
249 st
dcall MsiQueryComponentStateA(str str long str ptr)
250 stub MsiQueryComponentStateW
251 stub MsiQueryFeatureStateExA
252 stub MsiQueryFeatureStateExW
...
...
include/msi.h
View file @
ee89cfca
...
...
@@ -425,6 +425,10 @@ UINT WINAPI MsiVerifyPackageA(LPCSTR);
UINT
WINAPI
MsiVerifyPackageW
(
LPCWSTR
);
#define MsiVerifyPackage WINELIB_NAME_AW(MsiVerifyPackage)
UINT
WINAPI
MsiQueryComponentStateA
(
LPSTR
,
LPSTR
,
MSIINSTALLCONTEXT
,
LPCSTR
,
INSTALLSTATE
*
);
UINT
WINAPI
MsiQueryComponentStateW
(
LPWSTR
,
LPWSTR
,
MSIINSTALLCONTEXT
,
LPCWSTR
,
INSTALLSTATE
*
);
#define MsiQueryComponentState WINELIB_NAME_AW(MsiQueryComponentState)
INSTALLSTATE
WINAPI
MsiQueryProductStateA
(
LPCSTR
);
INSTALLSTATE
WINAPI
MsiQueryProductStateW
(
LPCWSTR
);
#define MsiQueryProductState WINELIB_NAME_AW(MsiQueryProductState)
...
...
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