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
13fee293
Commit
13fee293
authored
Oct 29, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement MsiGetFeatureUsageA and MsiUseFeature(Ex)A using their W
versions.
parent
d693f461
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
16 deletions
+77
-16
msi.c
dlls/msi/msi.c
+77
-16
No files found.
dlls/msi/msi.c
View file @
13fee293
...
...
@@ -1376,24 +1376,51 @@ HRESULT WINAPI DllCanUnloadNow(void)
return
S_FALSE
;
}
UINT
WINAPI
MsiGetFeatureUsageW
(
LPCWSTR
szProduct
,
LPCWSTR
szFeature
,
DWORD
*
pdwUseCount
,
WORD
*
pwDateUsed
)
/***********************************************************************
* MsiGetFeatureUsageW [MSI.@]
*/
UINT
WINAPI
MsiGetFeatureUsageW
(
LPCWSTR
szProduct
,
LPCWSTR
szFeature
,
DWORD
*
pdwUseCount
,
WORD
*
pwDateUsed
)
{
FIXME
(
"%s %s %p %p
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szFeature
),
pdwUseCount
,
pwDateUsed
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiGetFeatureUsageA
(
LPCSTR
szProduct
,
LPCSTR
szFeature
,
DWORD
*
pdwUseCount
,
WORD
*
pwDateUsed
)
/***********************************************************************
* MsiGetFeatureUsageA [MSI.@]
*/
UINT
WINAPI
MsiGetFeatureUsageA
(
LPCSTR
szProduct
,
LPCSTR
szFeature
,
DWORD
*
pdwUseCount
,
WORD
*
pwDateUsed
)
{
FIXME
(
"%s %s %p %p
\n
"
,
debugstr_a
(
szProduct
),
debugstr_a
(
szFeature
),
LPWSTR
prod
=
NULL
,
feat
=
NULL
;
UINT
ret
=
ERROR_OUTOFMEMORY
;
TRACE
(
"%s %s %p %p
\n
"
,
debugstr_a
(
szProduct
),
debugstr_a
(
szFeature
),
pdwUseCount
,
pwDateUsed
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
prod
=
strdupAtoW
(
szProduct
);
if
(
szProduct
&&
!
prod
)
goto
end
;
feat
=
strdupAtoW
(
szFeature
);
if
(
szFeature
&&
!
feat
)
goto
end
;
ret
=
MsiGetFeatureUsageW
(
prod
,
feat
,
pdwUseCount
,
pwDateUsed
);
end:
msi_free
(
prod
);
msi_free
(
feat
);
return
ret
;
}
INSTALLSTATE
WINAPI
MsiUseFeatureExW
(
LPCWSTR
szProduct
,
LPCWSTR
szFeature
,
DWORD
dwInstallMode
,
DWORD
dwReserved
)
/***********************************************************************
* MsiUseFeatureExW [MSI.@]
*/
INSTALLSTATE
WINAPI
MsiUseFeatureExW
(
LPCWSTR
szProduct
,
LPCWSTR
szFeature
,
DWORD
dwInstallMode
,
DWORD
dwReserved
)
{
FIXME
(
"%s %s %li %li
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szFeature
),
dwInstallMode
,
dwReserved
);
...
...
@@ -1412,27 +1439,61 @@ INSTALLSTATE WINAPI MsiUseFeatureExW(LPCWSTR szProduct, LPCWSTR szFeature,
/***********************************************************************
* MsiUseFeatureExA [MSI.@]
*/
INSTALLSTATE
WINAPI
MsiUseFeatureExA
(
LPCSTR
szProduct
,
LPCSTR
szFeature
,
DWORD
dwInstallMode
,
DWORD
dwReserved
)
INSTALLSTATE
WINAPI
MsiUseFeatureExA
(
LPCSTR
szProduct
,
LPCSTR
szFeature
,
DWORD
dwInstallMode
,
DWORD
dwReserved
)
{
FIXME
(
"%s %s %li %li
\n
"
,
debugstr_a
(
szProduct
),
debugstr_a
(
szFeature
),
INSTALLSTATE
ret
=
INSTALLSTATE_UNKNOWN
;
LPWSTR
prod
=
NULL
,
feat
=
NULL
;
TRACE
(
"%s %s %li %li
\n
"
,
debugstr_a
(
szProduct
),
debugstr_a
(
szFeature
),
dwInstallMode
,
dwReserved
);
return
INSTALLSTATE_LOCAL
;
prod
=
strdupAtoW
(
szProduct
);
if
(
szProduct
&&
!
prod
)
goto
end
;
feat
=
strdupAtoW
(
szFeature
);
if
(
szFeature
&&
!
feat
)
goto
end
;
ret
=
MsiUseFeatureExW
(
prod
,
feat
,
dwInstallMode
,
dwReserved
);
end:
msi_free
(
prod
);
msi_free
(
feat
);
return
ret
;
}
INSTALLSTATE
WINAPI
MsiUseFeatureW
(
LPCWSTR
szProduct
,
LPCWSTR
szFeature
)
INSTALLSTATE
WINAPI
MsiUseFeatureW
(
LPCWSTR
szProduct
,
LPCWSTR
szFeature
)
{
FIXME
(
"%s %s
\n
"
,
debugstr_w
(
szProduct
),
debugstr_w
(
szFeature
));
return
INSTALLSTATE_LOCAL
;
}
INSTALLSTATE
WINAPI
MsiUseFeatureA
(
LPCSTR
szProduct
,
LPCSTR
szFeature
)
INSTALLSTATE
WINAPI
MsiUseFeatureA
(
LPCSTR
szProduct
,
LPCSTR
szFeature
)
{
FIXME
(
"%s %s
\n
"
,
debugstr_a
(
szProduct
),
debugstr_a
(
szFeature
));
INSTALLSTATE
ret
=
INSTALLSTATE_UNKNOWN
;
LPWSTR
prod
=
NULL
,
feat
=
NULL
;
return
INSTALLSTATE_LOCAL
;
TRACE
(
"%s %s
\n
"
,
debugstr_a
(
szProduct
),
debugstr_a
(
szFeature
)
);
prod
=
strdupAtoW
(
szProduct
);
if
(
szProduct
&&
!
prod
)
goto
end
;
feat
=
strdupAtoW
(
szFeature
);
if
(
szFeature
&&
!
feat
)
goto
end
;
ret
=
MsiUseFeatureW
(
prod
,
feat
);
end:
msi_free
(
prod
);
msi_free
(
feat
);
return
ret
;
}
UINT
WINAPI
MsiProvideQualifiedComponentExW
(
LPCWSTR
szComponent
,
...
...
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