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
4f62bf79
Commit
4f62bf79
authored
May 29, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
May 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Implement MsiLocateComponent{A,W}.
parent
e550eab7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
msi.c
dlls/msi/msi.c
+14
-2
No files found.
dlls/msi/msi.c
View file @
4f62bf79
...
...
@@ -835,15 +835,27 @@ LANGID WINAPI MsiLoadStringA( MSIHANDLE handle, UINT id, LPSTR lpBuffer,
INSTALLSTATE
WINAPI
MsiLocateComponentA
(
LPCSTR
szComponent
,
LPSTR
lpPathBuf
,
DWORD
*
pcchBuf
)
{
FIXME
(
"%s %p %p
\n
"
,
debugstr_a
(
szComponent
),
lpPathBuf
,
pcchBuf
);
char
szProduct
[
GUID_SIZE
];
TRACE
(
"%s %p %p
\n
"
,
debugstr_a
(
szComponent
),
lpPathBuf
,
pcchBuf
);
if
(
MsiGetProductCodeA
(
szComponent
,
szProduct
)
!=
ERROR_SUCCESS
)
return
INSTALLSTATE_UNKNOWN
;
return
MsiGetComponentPathA
(
szProduct
,
szComponent
,
lpPathBuf
,
pcchBuf
);
}
INSTALLSTATE
WINAPI
MsiLocateComponentW
(
LPCWSTR
szComponent
,
LPWSTR
lpPathBuf
,
DWORD
*
pcchBuf
)
{
FIXME
(
"%s %p %p
\n
"
,
debugstr_w
(
szComponent
),
lpPathBuf
,
pcchBuf
);
WCHAR
szProduct
[
GUID_SIZE
];
TRACE
(
"%s %p %p
\n
"
,
debugstr_w
(
szComponent
),
lpPathBuf
,
pcchBuf
);
if
(
MsiGetProductCodeW
(
szComponent
,
szProduct
)
!=
ERROR_SUCCESS
)
return
INSTALLSTATE_UNKNOWN
;
return
MsiGetComponentPathW
(
szProduct
,
szComponent
,
lpPathBuf
,
pcchBuf
);
}
UINT
WINAPI
MsiMessageBoxA
(
HWND
hWnd
,
LPCSTR
lpText
,
LPCSTR
lpCaption
,
UINT
uType
,
...
...
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