[WUAPI] Sync with Wine Staging 4.18. CORE-16441
[reactos.git] / dll / win32 / wuapi / updates.c
index a4ddcde..249f07a 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
 #define COBJMACROS
 
-#include <config.h>
 #include <stdarg.h>
 
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <ole2.h>
-#include <wuapi.h>
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "ole2.h"
+#include "wuapi.h"
+#include "wuapi_private.h"
 
-#include <wine/debug.h>
+#include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
 
@@ -205,11 +202,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;