diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 452ea0d859d..f1c6ebe7c7a 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -41,7 +41,6 @@ #include "config.h" -#include #include #include #include @@ -1677,7 +1676,7 @@ HRESULT WINAPI CoRevokeClassObject( LARGE_INTEGER zero; memset(&zero, 0, sizeof(zero)); /* FIXME: stop local server thread */ - IStream_Seek(curClass->pMarshaledData, zero, SEEK_SET, NULL); + IStream_Seek(curClass->pMarshaledData, zero, STREAM_SEEK_SET, NULL); CoReleaseMarshalData(curClass->pMarshaledData); } diff --git a/dlls/ole32/git.c b/dlls/ole32/git.c index 4f8d17d4c6b..222eb6f375f 100644 --- a/dlls/ole32/git.c +++ b/dlls/ole32/git.c @@ -24,13 +24,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - -#include -#include #include -#include -#include #define COBJMACROS #define NONAMELESSUNION @@ -42,8 +36,6 @@ #include "objbase.h" #include "ole2.h" #include "winerror.h" -#include "winreg.h" -#include "winternl.h" #include "compobj_private.h" @@ -208,7 +200,7 @@ StdGlobalInterfaceTable_RegisterInterfaceInGlobal( } zero.QuadPart = 0; - IStream_Seek(stream, zero, SEEK_SET, NULL); + IStream_Seek(stream, zero, STREAM_SEEK_SET, NULL); entry = HeapAlloc(GetProcessHeap(), 0, sizeof(StdGITEntry)); if (entry == NULL) return E_OUTOFMEMORY; diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c index dd504864334..01368cbd04a 100644 --- a/dlls/ole32/marshal.c +++ b/dlls/ole32/marshal.c @@ -20,11 +20,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "config.h" - -#include #include -#include #include #include @@ -35,10 +31,7 @@ #include "winuser.h" #include "objbase.h" #include "ole2.h" -#include "rpc.h" #include "winerror.h" -#include "winreg.h" -#include "wtypes.h" #include "wine/unicode.h" #include "compobj_private.h" @@ -1780,7 +1773,7 @@ HRESULT WINAPI CoMarshalInterThreadInterfaceInStream( if (SUCCEEDED(hres)) { memset(&seekto, 0, sizeof(seekto)); - IStream_Seek(*ppStm, seekto, SEEK_SET, &xpos); + IStream_Seek(*ppStm, seekto, STREAM_SEEK_SET, &xpos); } else { diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c index f063883406a..d28241b4b31 100644 --- a/dlls/ole32/rpc.c +++ b/dlls/ole32/rpc.c @@ -23,11 +23,8 @@ #include "config.h" #include "wine/port.h" -#include #include -#include #include -#include #define COBJMACROS #define NONAMELESSUNION @@ -42,7 +39,6 @@ #include "rpc.h" #include "winerror.h" #include "winreg.h" -#include "wtypes.h" #include "wine/unicode.h" #include "compobj_private.h" diff --git a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c index 264a2e56214..3665443a6d5 100644 --- a/dlls/ole32/stubmanager.c +++ b/dlls/ole32/stubmanager.c @@ -35,9 +35,8 @@ #include "winbase.h" #include "winuser.h" #include "objbase.h" -#include "ole2.h" -#include "ole2ver.h" #include "rpc.h" + #include "wine/debug.h" #include "compobj_private.h"