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
9bef4830
Commit
9bef4830
authored
Feb 16, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Feb 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up the summary information code a little.
parent
2e24400c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
suminfo.c
dlls/msi/suminfo.c
+12
-9
No files found.
dlls/msi/suminfo.c
View file @
9bef4830
...
...
@@ -108,11 +108,9 @@ UINT WINAPI MsiGetSummaryInformationW(MSIHANDLE hDatabase,
if
(
FAILED
(
r
)
)
{
ERR
(
"IStorage -> IPropertySetStorage failed
\n
"
);
if
(
db
)
msiobj_release
(
&
db
->
hdr
);
return
ERROR_FUNCTION_FAILED
;
ret
=
ERROR_FUNCTION_FAILED
;
goto
end
;
}
ERR
(
"storage = %p propertysetstorage = %p
\n
"
,
db
->
storage
,
psstg
);
grfMode
=
STGM_READ
|
STGM_SHARE_EXCLUSIVE
;
r
=
IPropertySetStorage_Open
(
psstg
,
&
FMTID_SummaryInformation
,
grfMode
,
&
ps
);
...
...
@@ -135,7 +133,7 @@ UINT WINAPI MsiGetSummaryInformationW(MSIHANDLE hDatabase,
suminfo
->
propstg
=
ps
;
handle
=
alloc_msihandle
(
&
suminfo
->
hdr
);
if
(
handle
)
*
phSummaryInfo
=
handle
;
*
phSummaryInfo
=
handle
;
else
ret
=
ERROR_FUNCTION_FAILED
;
msiobj_release
(
&
suminfo
->
hdr
);
...
...
@@ -145,7 +143,7 @@ end:
IPropertyStorage_Release
(
ps
);
if
(
psstg
)
IPropertySetStorage_Release
(
psstg
);
if
(
db
)
if
(
db
)
msiobj_release
(
&
db
->
hdr
);
return
ret
;
...
...
@@ -275,19 +273,24 @@ UINT WINAPI MsiSummaryInfoGetPropertyW(
UINT
WINAPI
MsiSummaryInfoSetPropertyA
(
MSIHANDLE
hSummaryInfo
,
UINT
uiProperty
,
UINT
uiDataType
,
INT
iValue
,
FILETIME
*
pftValue
,
LPSTR
szValue
)
FILETIME
*
pftValue
,
LPSTR
szValue
)
{
FIXME
(
"%ld %u %u %i %p %s
\n
"
,
hSummaryInfo
,
uiProperty
,
uiDataType
,
iValue
,
pftValue
,
debugstr_a
(
szValue
)
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiSummaryInfoSetPropertyW
(
MSIHANDLE
hSummaryInfo
,
UINT
uiProperty
,
UINT
uiDataType
,
INT
iValue
,
FILETIME
*
pftValue
,
LPWSTR
szValue
)
FILETIME
*
pftValue
,
LPWSTR
szValue
)
{
FIXME
(
"%ld %u %u %i %p %s
\n
"
,
hSummaryInfo
,
uiProperty
,
uiDataType
,
iValue
,
pftValue
,
debugstr_w
(
szValue
)
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
UINT
WINAPI
MsiSummaryInfoPersist
(
MSIHANDLE
hSummaryInfo
)
UINT
WINAPI
MsiSummaryInfoPersist
(
MSIHANDLE
hSummaryInfo
)
{
FIXME
(
"%ld
\n
"
,
hSummaryInfo
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
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