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
9999e6cc
Commit
9999e6cc
authored
Jan 24, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Jan 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
An implementation of MsiSummaryInfoGetPropertyW based off of
MsiSummaryInfoGetPropertyA.
parent
6b89a922
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
3 deletions
+47
-3
suminfo.c
dlls/msi/suminfo.c
+47
-3
No files found.
dlls/msi/suminfo.c
View file @
9999e6cc
...
@@ -222,9 +222,53 @@ UINT WINAPI MsiSummaryInfoGetPropertyW(
...
@@ -222,9 +222,53 @@ UINT WINAPI MsiSummaryInfoGetPropertyW(
MSIHANDLE
hSummaryInfo
,
UINT
uiProperty
,
UINT
*
puiDataType
,
INT
*
piValue
,
MSIHANDLE
hSummaryInfo
,
UINT
uiProperty
,
UINT
*
puiDataType
,
INT
*
piValue
,
FILETIME
*
pftValue
,
LPWSTR
szValueBuf
,
DWORD
*
pcchValueBuf
)
FILETIME
*
pftValue
,
LPWSTR
szValueBuf
,
DWORD
*
pcchValueBuf
)
{
{
FIXME
(
"%ld %d %p %p %p %p %p
\n
"
,
MSISUMMARYINFO
*
suminfo
;
HRESULT
r
;
PROPSPEC
spec
;
PROPVARIANT
var
;
TRACE
(
"%ld %d %p %p %p %p %p
\n
"
,
hSummaryInfo
,
uiProperty
,
puiDataType
,
piValue
,
hSummaryInfo
,
uiProperty
,
puiDataType
,
piValue
,
pftValue
,
szValueBuf
,
pcchValueBuf
);
pftValue
,
szValueBuf
,
pcchValueBuf
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
suminfo
=
msihandle2msiinfo
(
hSummaryInfo
,
MSIHANDLETYPE_SUMMARYINFO
);
if
(
!
suminfo
)
return
ERROR_INVALID_HANDLE
;
spec
.
ulKind
=
PRSPEC_PROPID
;
spec
.
u
.
propid
=
uiProperty
;
r
=
IPropertyStorage_ReadMultiple
(
suminfo
->
propstg
,
1
,
&
spec
,
&
var
);
if
(
FAILED
(
r
)
)
return
ERROR_FUNCTION_FAILED
;
if
(
puiDataType
)
*
puiDataType
=
var
.
vt
;
switch
(
var
.
vt
)
{
case
VT_I4
:
if
(
piValue
)
*
piValue
=
var
.
u
.
lVal
;
break
;
case
VT_LPSTR
:
if
(
pcchValueBuf
&&
szValueBuf
)
{
MultiByteToWideChar
(
CP_ACP
,
0
,
var
.
u
.
pszVal
,
-
1
,
szValueBuf
,
*
pcchValueBuf
);
*
pcchValueBuf
=
lstrlenA
(
var
.
u
.
pszVal
);
}
break
;
case
VT_FILETIME
:
if
(
pftValue
)
memcpy
(
pftValue
,
&
var
.
u
.
filetime
,
sizeof
(
FILETIME
)
);
break
;
case
VT_EMPTY
:
break
;
default:
FIXME
(
"Unknown property variant type
\n
"
);
break
;
}
return
ERROR_SUCCESS
;
}
}
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