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
e40da9f1
Commit
e40da9f1
authored
Oct 30, 2003
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some stub implementations.
parent
6e86a2a8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
8 deletions
+72
-8
msi.c
dlls/msi/msi.c
+33
-2
msi.spec
dlls/msi/msi.spec
+6
-6
msiquery.c
dlls/msi/msiquery.c
+29
-0
msi.h
include/msi.h
+4
-0
No files found.
dlls/msi/msi.c
View file @
e40da9f1
...
...
@@ -222,8 +222,25 @@ end:
UINT
WINAPI
MsiOpenProductA
(
LPCSTR
szProduct
,
MSIHANDLE
*
phProduct
)
{
FIXME
(
"%s %p
\n
"
,
debugstr_a
(
szProduct
),
phProduct
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
UINT
len
,
ret
;
LPWSTR
szwProd
=
NULL
;
TRACE
(
"%s %p
\n
"
,
debugstr_a
(
szProduct
),
phProduct
);
if
(
szProduct
)
{
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
szProduct
,
-
1
,
NULL
,
0
);
szwProd
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
)
);
if
(
szwProd
)
MultiByteToWideChar
(
CP_ACP
,
0
,
szProduct
,
-
1
,
szwProd
,
len
);
}
ret
=
MsiOpenProductW
(
szwProd
,
phProduct
);
if
(
szwProd
)
HeapFree
(
GetProcessHeap
(),
0
,
szwProd
);
return
ret
;
}
UINT
WINAPI
MsiOpenProductW
(
LPCWSTR
szProduct
,
MSIHANDLE
*
phProduct
)
...
...
@@ -721,6 +738,20 @@ HRESULT WINAPI MsiGetFileSignatureInformationW(
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiGetProductPropertyA
(
MSIHANDLE
hProduct
,
LPCSTR
szProperty
,
LPSTR
szValue
,
DWORD
*
pccbValue
)
{
FIXME
(
"%ld %s %p %p
\n
"
,
hProduct
,
debugstr_a
(
szProperty
),
szValue
,
pccbValue
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiGetProductPropertyW
(
MSIHANDLE
hProduct
,
LPCWSTR
szProperty
,
LPWSTR
szValue
,
DWORD
*
pccbValue
)
{
FIXME
(
"%ld %s %p %p
\n
"
,
hProduct
,
debugstr_w
(
szProperty
),
szValue
,
pccbValue
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
HRESULT
WINAPI
MSI_DllGetVersion
(
DLLVERSIONINFO
*
pdvi
)
{
TRACE
(
"%p
\n
"
,
pdvi
);
...
...
dlls/msi/msi.spec
View file @
e40da9f1
...
...
@@ -47,15 +47,15 @@
47 stub MsiEvaluateConditionW
48 stub MsiGetLastErrorRecord
49 stub MsiGetActiveDatabase
50 st
ub MsiGetComponentStateA
51 st
ub MsiGetComponentStateW
50 st
dcall MsiGetComponentStateA(long str ptr ptr)
51 st
dcall MsiGetComponentStateW(long wstr ptr ptr)
52 stub MsiGetDatabaseState
53 stub MsiGetFeatureCostA
54 stub MsiGetFeatureCostW
55 stub MsiGetFeatureInfoA
56 stub MsiGetFeatureInfoW
57 st
ub MsiGetFeatureStateA
58 st
ub MsiGetFeatureStateW
57 st
dcall MsiGetFeatureStateA(long str ptr ptr)
58 st
dcall MsiGetFeatureStateW(long wstr ptr ptr)
59 stub MsiGetFeatureUsageA
60 stub MsiGetFeatureUsageW
61 stub MsiGetFeatureValidStatesA
...
...
@@ -68,8 +68,8 @@
68 stub MsiGetProductInfoFromScriptA
69 stub MsiGetProductInfoFromScriptW
70 stdcall MsiGetProductInfoW(wstr wstr wstr long)
71 st
ub MsiGetProductPropertyA
72 st
ub MsiGetProductPropertyW
71 st
dcall MsiGetProductPropertyA(long str ptr ptr)
72 st
dcall MsiGetProductPropertyW(long wstr ptr ptr)
73 stub MsiGetPropertyA
74 stub MsiGetPropertyW
75 stub MsiGetSourcePathA
...
...
dlls/msi/msiquery.c
View file @
e40da9f1
...
...
@@ -378,3 +378,32 @@ UINT WINAPI MsiDatabaseGetPrimaryKeysW(MSIHANDLE hdb,
FIXME
(
"%ld %s %p
\n
"
,
hdb
,
debugstr_w
(
table
),
rec
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiGetFeatureStateA
(
MSIHANDLE
hInstall
,
LPSTR
szFeature
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
FIXME
(
"%ld %s %p %p
\n
"
,
hInstall
,
debugstr_a
(
szFeature
),
piInstalled
,
piAction
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiGetFeatureStateW
(
MSIHANDLE
hInstall
,
LPWSTR
szFeature
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
FIXME
(
"%ld %s %p %p
\n
"
,
hInstall
,
debugstr_w
(
szFeature
),
piInstalled
,
piAction
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiGetComponentStateA
(
MSIHANDLE
hInstall
,
LPSTR
szFeature
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
FIXME
(
"%ld %s %p %p
\n
"
,
hInstall
,
debugstr_a
(
szFeature
),
piInstalled
,
piAction
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiGetComponentStateW
(
MSIHANDLE
hInstall
,
LPWSTR
szFeature
,
INSTALLSTATE
*
piInstalled
,
INSTALLSTATE
*
piAction
)
{
FIXME
(
"%ld %s %p %p
\n
"
,
hInstall
,
debugstr_w
(
szFeature
),
piInstalled
,
piAction
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
include/msi.h
View file @
e40da9f1
...
...
@@ -80,6 +80,10 @@ UINT WINAPI MsiOpenPackageA(LPCSTR, MSIHANDLE*);
UINT
WINAPI
MsiOpenPackageW
(
LPCWSTR
,
MSIHANDLE
*
);
#define MsiOpenPackage WINELIB_NAME_AW(MsiOpenPackage)
UINT
WINAPI
MsiOpenProductA
(
LPCSTR
,
MSIHANDLE
*
);
UINT
WINAPI
MsiOpenProductW
(
LPCWSTR
,
MSIHANDLE
*
);
#define MsiOpenProduct WINELIB_NAME_AW(MsiOpenProduct)
UINT
WINAPI
MsiGetSummaryInformationA
(
MSIHANDLE
,
LPCSTR
,
UINT
,
MSIHANDLE
*
);
UINT
WINAPI
MsiGetSummaryInformationW
(
MSIHANDLE
,
LPCWSTR
,
UINT
,
MSIHANDLE
*
);
#define MsiGetSummaryInformation WINELIB_NAME_AW(MsiGetSummaryInformation)
...
...
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