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
2b4bf44b
Commit
2b4bf44b
authored
Apr 21, 2007
by
James Hawkins
Committed by
Alexandre Julliard
Apr 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add an internal MSI_ViewModify.
parent
1cdc0570
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
msipriv.h
dlls/msi/msipriv.h
+1
-0
msiquery.c
dlls/msi/msiquery.c
+15
-16
No files found.
dlls/msi/msipriv.h
View file @
2b4bf44b
...
...
@@ -619,6 +619,7 @@ extern UINT MSI_ViewExecute( MSIQUERY*, MSIRECORD * );
extern
UINT
MSI_ViewFetch
(
MSIQUERY
*
,
MSIRECORD
**
);
extern
UINT
MSI_ViewClose
(
MSIQUERY
*
);
extern
UINT
MSI_ViewGetColumnInfo
(
MSIQUERY
*
,
MSICOLINFO
,
MSIRECORD
**
);
extern
UINT
MSI_ViewModify
(
MSIQUERY
*
,
MSIMODIFY
,
MSIRECORD
*
);
extern
UINT
VIEW_find_column
(
MSIVIEW
*
,
LPCWSTR
,
UINT
*
);
...
...
dlls/msi/msiquery.c
View file @
2b4bf44b
...
...
@@ -552,10 +552,23 @@ UINT WINAPI MsiViewGetColumnInfo(MSIHANDLE hView, MSICOLINFO info, MSIHANDLE *hR
return
r
;
}
UINT
MSI_ViewModify
(
MSIQUERY
*
query
,
MSIMODIFY
mode
,
MSIRECORD
*
rec
)
{
MSIVIEW
*
view
=
NULL
;
if
(
!
query
||
!
rec
)
return
ERROR_INVALID_HANDLE
;
view
=
query
->
view
;
if
(
!
view
||
!
view
->
ops
->
modify
)
return
ERROR_FUNCTION_FAILED
;
return
view
->
ops
->
modify
(
view
,
mode
,
rec
);
}
UINT
WINAPI
MsiViewModify
(
MSIHANDLE
hView
,
MSIMODIFY
eModifyMode
,
MSIHANDLE
hRecord
)
{
MSIVIEW
*
view
=
NULL
;
MSIQUERY
*
query
=
NULL
;
MSIRECORD
*
rec
=
NULL
;
UINT
r
=
ERROR_FUNCTION_FAILED
;
...
...
@@ -566,23 +579,9 @@ UINT WINAPI MsiViewModify( MSIHANDLE hView, MSIMODIFY eModifyMode,
if
(
!
query
)
return
ERROR_INVALID_HANDLE
;
view
=
query
->
view
;
if
(
!
view
)
goto
out
;
if
(
!
view
->
ops
->
modify
)
goto
out
;
rec
=
msihandle2msiinfo
(
hRecord
,
MSIHANDLETYPE_RECORD
);
if
(
!
rec
)
{
r
=
ERROR_INVALID_HANDLE
;
goto
out
;
}
r
=
MSI_ViewModify
(
query
,
eModifyMode
,
rec
);
r
=
view
->
ops
->
modify
(
view
,
eModifyMode
,
rec
);
out:
msiobj_release
(
&
query
->
hdr
);
if
(
rec
)
msiobj_release
(
&
rec
->
hdr
);
...
...
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