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
1f99a11f
Commit
1f99a11f
authored
Jan 11, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wuapi: Fix object constructors to match the changed prototype.
parent
8953c74e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
10 deletions
+15
-10
downloader.c
dlls/wuapi/downloader.c
+3
-2
installer.c
dlls/wuapi/installer.c
+3
-2
searcher.c
dlls/wuapi/searcher.c
+3
-2
systeminfo.c
dlls/wuapi/systeminfo.c
+3
-2
updates.c
dlls/wuapi/updates.c
+3
-2
No files found.
dlls/wuapi/downloader.c
View file @
1f99a11f
...
...
@@ -29,6 +29,7 @@
#include "ole2.h"
#include "initguid.h"
#include "wuapi.h"
#include "wuapi_private.h"
#include "wine/debug.h"
...
...
@@ -248,11 +249,11 @@ static const struct IUpdateDownloaderVtbl update_downloader_vtbl =
update_downloader_EndDownload
};
HRESULT
UpdateDownloader_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
HRESULT
UpdateDownloader_create
(
LPVOID
*
ppObj
)
{
update_downloader
*
downloader
;
TRACE
(
"(%p
,%p)
\n
"
,
pUnkOuter
,
ppObj
);
TRACE
(
"(%p
)
\n
"
,
ppObj
);
downloader
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
downloader
)
);
if
(
!
downloader
)
return
E_OUTOFMEMORY
;
...
...
dlls/wuapi/installer.c
View file @
1f99a11f
...
...
@@ -28,6 +28,7 @@
#include "winuser.h"
#include "ole2.h"
#include "wuapi.h"
#include "wuapi_private.h"
#include "wine/debug.h"
...
...
@@ -342,11 +343,11 @@ static const struct IUpdateInstallerVtbl update_installer_vtbl =
update_installer_get_RebootRequiredBeforeInstallation
};
HRESULT
UpdateInstaller_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
HRESULT
UpdateInstaller_create
(
LPVOID
*
ppObj
)
{
update_installer
*
installer
;
TRACE
(
"(%p
,%p)
\n
"
,
pUnkOuter
,
ppObj
);
TRACE
(
"(%p
)
\n
"
,
ppObj
);
installer
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
installer
)
);
if
(
!
installer
)
return
E_OUTOFMEMORY
;
...
...
dlls/wuapi/searcher.c
View file @
1f99a11f
...
...
@@ -28,6 +28,7 @@
#include "winuser.h"
#include "ole2.h"
#include "wuapi.h"
#include "wuapi_private.h"
#include "wine/debug.h"
...
...
@@ -314,11 +315,11 @@ static const struct IUpdateSearcherVtbl update_searcher_vtbl =
update_searcher_put_ServiceID
};
HRESULT
UpdateSearcher_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
HRESULT
UpdateSearcher_create
(
LPVOID
*
ppObj
)
{
update_searcher
*
searcher
;
TRACE
(
"(%p
,%p)
\n
"
,
pUnkOuter
,
ppObj
);
TRACE
(
"(%p
)
\n
"
,
ppObj
);
searcher
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
searcher
)
);
if
(
!
searcher
)
return
E_OUTOFMEMORY
;
...
...
dlls/wuapi/systeminfo.c
View file @
1f99a11f
...
...
@@ -29,6 +29,7 @@
#include "winuser.h"
#include "ole2.h"
#include "wuapi.h"
#include "wuapi_private.h"
#include "wine/debug.h"
...
...
@@ -143,11 +144,11 @@ static const struct ISystemInformationVtbl systeminfo_vtbl =
systeminfo_get_RebootRequired
};
HRESULT
SystemInformation_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
HRESULT
SystemInformation_create
(
LPVOID
*
ppObj
)
{
systeminfo
*
info
;
TRACE
(
"(%p
,%p)
\n
"
,
pUnkOuter
,
ppObj
);
TRACE
(
"(%p
)
\n
"
,
ppObj
);
info
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
info
));
if
(
!
info
)
...
...
dlls/wuapi/updates.c
View file @
1f99a11f
...
...
@@ -28,6 +28,7 @@
#include "winuser.h"
#include "ole2.h"
#include "wuapi.h"
#include "wuapi_private.h"
#include "wine/debug.h"
...
...
@@ -202,11 +203,11 @@ static const struct IAutomaticUpdatesVtbl automatic_updates_vtbl =
automatic_updates_EnableService
};
HRESULT
AutomaticUpdates_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
HRESULT
AutomaticUpdates_create
(
LPVOID
*
ppObj
)
{
automatic_updates
*
updates
;
TRACE
(
"(%p
,%p)
\n
"
,
pUnkOuter
,
ppObj
);
TRACE
(
"(%p
)
\n
"
,
ppObj
);
updates
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
updates
)
);
if
(
!
updates
)
return
E_OUTOFMEMORY
;
...
...
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