[WUAPI] Sync with Wine Staging 4.18. CORE-16441
[reactos.git] / dll / win32 / wuapi / installer.c
index ae2e5ae..3761482 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#define COBJMACROS
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "ole2.h"
+#include "wuapi.h"
 #include "wuapi_private.h"
 
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
+
 typedef struct _update_installer
 {
     IUpdateInstaller IUpdateInstaller_iface;
@@ -329,11 +342,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;