diff --git a/dll/win32/atl/atl.c b/dll/win32/atl/atl.c index ce0d616c9a6..4acee5de3c1 100644 --- a/dll/win32/atl/atl.c +++ b/dll/win32/atl/atl.c @@ -17,10 +17,20 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include +#define COBJMACROS -#include +#include "wine/atlbase.h" +#include "wine/atlcom.h" + +#include "wine/debug.h" +#include "wine/heap.h" +#include "wine/unicode.h" + +#ifdef __REACTOS__ #include +#endif + +WINE_DEFAULT_DEBUG_CHANNEL(atl); #define ATLVer1Size FIELD_OFFSET(_ATL_MODULEW, dwAtlBuildVer) @@ -28,16 +38,6 @@ HINSTANCE atl_instance; typedef unsigned char cpp_bool; -static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size) -{ - return HeapAlloc(GetProcessHeap(), 0, size); -} - -static inline BOOL heap_free(void *mem) -{ - return HeapFree(GetProcessHeap(), 0, mem); -} - static ICatRegister *catreg; /*********************************************************************** diff --git a/dll/win32/atl/atl30.c b/dll/win32/atl/atl30.c index 99ed6711d86..674c1aac8d8 100644 --- a/dll/win32/atl/atl30.c +++ b/dll/win32/atl/atl30.c @@ -19,10 +19,19 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include - #include -#include + +#define COBJMACROS + +#include "objidl.h" +#include "rpcproxy.h" +#include "wine/atlbase.h" +#include "wine/atlwin.h" + +#include "wine/debug.h" +#include "wine/unicode.h" + +WINE_DEFAULT_DEBUG_CHANNEL(atl); extern HINSTANCE atl_instance; diff --git a/dll/win32/atl/atl_ax.c b/dll/win32/atl/atl_ax.c index 6897669ab07..1765dcc6896 100644 --- a/dll/win32/atl/atl_ax.c +++ b/dll/win32/atl/atl_ax.c @@ -18,12 +18,28 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include +#include +#include -#include -#include -#include -#include +#define COBJMACROS + +#include "windef.h" +#include "winbase.h" +#include "winerror.h" +#include "winuser.h" +#include "wine/debug.h" +#include "objbase.h" +#include "objidl.h" +#include "ole2.h" +#include "exdisp.h" +#include "wine/atlbase.h" +#include "atliface.h" +#include "wine/atlwin.h" +#include "shlwapi.h" + +#include "wine/unicode.h" + +WINE_DEFAULT_DEBUG_CHANNEL(atl); typedef struct IOCS { IOleClientSite IOleClientSite_iface; diff --git a/dll/win32/atl/precomp.h b/dll/win32/atl/precomp.h index def51b04e8f..e38da863bb5 100644 --- a/dll/win32/atl/precomp.h +++ b/dll/win32/atl/precomp.h @@ -1,3 +1,4 @@ + #ifndef _ATL_PCH_ #define _ATL_PCH_ @@ -20,6 +21,4 @@ #include #include -WINE_DEFAULT_DEBUG_CHANNEL(atl); - -#endif /* _ATL_PCH_ */ +#endif /* !_ATL_PCH_ */ diff --git a/dll/win32/atl/registrar.c b/dll/win32/atl/registrar.c index 704a21c0051..3d597ba217f 100644 --- a/dll/win32/atl/registrar.c +++ b/dll/win32/atl/registrar.c @@ -16,8 +16,14 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include +#define COBJMACROS +#include "wine/atlbase.h" + +#include "wine/debug.h" +#include "wine/unicode.h" + +WINE_DEFAULT_DEBUG_CHANNEL(atl); /************************************************************** * ATLRegistrar implementation diff --git a/dll/win32/atl100/precomp.h b/dll/win32/atl100/precomp.h index 324229015ec..f4ec9214d79 100644 --- a/dll/win32/atl100/precomp.h +++ b/dll/win32/atl100/precomp.h @@ -1,3 +1,4 @@ + #ifndef _ATL100_PCH_ #define _ATL100_PCH_ @@ -19,6 +20,4 @@ #include #include -WINE_DEFAULT_DEBUG_CHANNEL(atl); - #endif /* _ATL100_PCH_ */ diff --git a/dll/win32/atl80/atl80.c b/dll/win32/atl80/atl80.c index 1a9019b1501..b524daf8d9e 100644 --- a/dll/win32/atl80/atl80.c +++ b/dll/win32/atl80/atl80.c @@ -16,11 +16,21 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include - +#include #include -#include -#include + +#define COBJMACROS + +#include "windef.h" +#include "winbase.h" +#include "winerror.h" +#include "winuser.h" +#include "wine/atlbase.h" + +#include "wine/debug.h" +#include "wine/unicode.h" + +WINE_DEFAULT_DEBUG_CHANNEL(atl); /*********************************************************************** * AtlRegisterTypeLib [atl80.18] diff --git a/dll/win32/atl80/precomp.h b/dll/win32/atl80/precomp.h index 75f1e4159ea..4e6c501d94d 100644 --- a/dll/win32/atl80/precomp.h +++ b/dll/win32/atl80/precomp.h @@ -1,3 +1,4 @@ + #ifndef _ATL80_PCH_ #define _ATL80_PCH_ @@ -19,6 +20,4 @@ #include #include -WINE_DEFAULT_DEBUG_CHANNEL(atl); - -#endif /* _ATL80_PCH_ */ +#endif /* !_ATL80_PCH_ */ diff --git a/media/doc/README.WINE b/media/doc/README.WINE index e37d01ddabf..6fe3e1d210e 100644 --- a/media/doc/README.WINE +++ b/media/doc/README.WINE @@ -45,9 +45,9 @@ reactos/dll/directx/wine/wined3d # Synced to WineStaging-3.3 reactos/dll/win32/activeds # Synced to WineStaging-3.3 reactos/dll/win32/actxprxy # Synced to WineStaging-3.3 reactos/dll/win32/advpack # Synced to WineStaging-3.3 -reactos/dll/win32/atl # Synced to Wine-3.0 -reactos/dll/win32/atl80 # Synced to Wine-3.0 -reactos/dll/win32/atl100 # Synced to Wine-3.0 +reactos/dll/win32/atl # Synced to WineStaging-3.3 +reactos/dll/win32/atl80 # Synced to WineStaging-3.3 +reactos/dll/win32/atl100 # Synced to WineStaging-3.3 reactos/dll/win32/avifil32 # Synced to Wine-3.0 reactos/dll/win32/bcrypt # Synced to WineStaging-1.9.23 reactos/dll/win32/browseui # Out of sync