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
45cb03f4
Commit
45cb03f4
authored
May 23, 2020
by
Gijs Vermeulen
Committed by
Alexandre Julliard
May 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wuapi: Add UpdateInstaller coclass.
Signed-off-by:
Gijs Vermeulen
<
gijsvrm@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0662da18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
main.c
dlls/wuapi/main.c
+5
-0
wuapi.idl
include/wuapi.idl
+9
-0
No files found.
dlls/wuapi/main.c
View file @
45cb03f4
...
...
@@ -111,6 +111,7 @@ static const struct IClassFactoryVtbl wucf_vtbl =
static
wucf
sessioncf
=
{
{
&
wucf_vtbl
},
UpdateSession_create
};
static
wucf
updatescf
=
{
{
&
wucf_vtbl
},
AutomaticUpdates_create
};
static
wucf
sysinfocf
=
{
{
&
wucf_vtbl
},
SystemInformation_create
};
static
wucf
installercf
=
{
{
&
wucf_vtbl
},
UpdateInstaller_create
};
static
HINSTANCE
instance
;
...
...
@@ -146,6 +147,10 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
{
cf
=
&
sysinfocf
.
IClassFactory_iface
;
}
else
if
(
IsEqualGUID
(
rclsid
,
&
CLSID_UpdateInstaller
))
{
cf
=
&
installercf
.
IClassFactory_iface
;
}
if
(
!
cf
)
return
CLASS_E_CLASSNOTAVAILABLE
;
return
IClassFactory_QueryInterface
(
cf
,
iid
,
ppv
);
}
...
...
include/wuapi.idl
View file @
45cb03f4
...
...
@@ -1330,6 +1330,15 @@ interface ISystemInformation : IDispatch
coclass
AutomaticUpdates
{
interface
IAutomaticUpdates
; }
[
helpstring
(
"UpdateInstaller Class"
),
threading
(
both
),
progid
(
"Microsoft.Update.Installer.1"
),
vi_progid
(
"Microsoft.Update.Installer"
),
uuid
(
d2e0fe7f
-
d23e
-
48
e1
-
93
c0
-
6
fa8cc346474
)
]
coclass
UpdateInstaller
{
interface
IUpdateInstaller
; }
[
helpstring
(
"UpdateSession Class"
),
threading
(
both
),
progid
(
"Microsoft.Update.Session.1"
),
...
...
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