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
c0c6fe63
Commit
c0c6fe63
authored
May 11, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
May 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: automation: Implement Record::FieldCount.
parent
aa9f4beb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
automation.c
dlls/msi/automation.c
+8
-0
msiserver.idl
dlls/msi/msiserver.idl
+2
-0
msiserver_dispids.h
dlls/msi/msiserver_dispids.h
+1
-0
automation.c
dlls/msi/tests/automation.c
+3
-6
No files found.
dlls/msi/automation.c
View file @
c0c6fe63
...
...
@@ -566,6 +566,14 @@ static HRESULT WINAPI RecordImpl_Invoke(
switch
(
dispIdMember
)
{
case
DISPID_RECORD_FIELDCOUNT
:
if
(
wFlags
&
DISPATCH_PROPERTYGET
)
{
V_VT
(
pVarResult
)
=
VT_I4
;
V_I4
(
pVarResult
)
=
MsiRecordGetFieldCount
(
This
->
msiHandle
);
}
else
return
DISP_E_MEMBERNOTFOUND
;
break
;
case
DISPID_RECORD_STRINGDATA
:
if
(
wFlags
&
DISPATCH_PROPERTYGET
)
{
hr
=
DispGetParam
(
pDispParams
,
0
,
VT_I4
,
&
varg0
,
puArgErr
);
...
...
dlls/msi/msiserver.idl
View file @
c0c6fe63
...
...
@@ -88,6 +88,8 @@ library WindowsInstaller
void
StringData
(
[
in
]
long
Field
,
[
in
]
BSTR
rhs
)
;
[
id
(
DISPID_RECORD_FIELDCOUNT
),
propget
]
long
FieldCount
()
;
}
[
uuid
(
000
C1095
-
0000
-
0000
-
C000
-
000000000046
)
]
...
...
dlls/msi/msiserver_dispids.h
View file @
c0c6fe63
...
...
@@ -22,6 +22,7 @@
#define DISPID_INSTALLER_PRODUCTSTATE 17
#define DISPID_INSTALLER_PRODUCTS 35
#define DISPID_RECORD_FIELDCOUNT 0
#define DISPID_RECORD_STRINGDATA 1
#define DISPID_STRINGLIST_ITEM 0
...
...
dlls/msi/tests/automation.c
View file @
c0c6fe63
...
...
@@ -1388,12 +1388,9 @@ static void test_Installer(void)
int
iFieldCount
=
0
;
/* Record::FieldCountGet */
todo_wine
{
hr
=
Record_FieldCountGet
(
pRecord
,
&
iFieldCount
);
ok
(
SUCCEEDED
(
hr
),
"Record_FiledCountGet failed, hresult 0x%08x
\n
"
,
hr
);
ok
(
iFieldCount
==
1
,
"Record_FieldCountGet result was %d but expected 1
\n
"
,
iFieldCount
);
}
hr
=
Record_FieldCountGet
(
pRecord
,
&
iFieldCount
);
ok
(
SUCCEEDED
(
hr
),
"Record_FiledCountGet failed, hresult 0x%08x
\n
"
,
hr
);
ok
(
iFieldCount
==
1
,
"Record_FieldCountGet result was %d but expected 1
\n
"
,
iFieldCount
);
IDispatch_Release
(
pRecord
);
}
...
...
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