oleaut32: Don't use 16-bit headers.
authorAlexandre Julliard <julliard@winehq.org>
Wed, 1 Apr 2009 16:20:21 +0000 (18:20 +0200)
committerVitaly Lipatov <lav@etersoft.ru>
Thu, 15 Apr 2010 14:42:21 +0000 (18:42 +0400)
dlls/oleaut32/olepicture.c
dlls/oleaut32/typelib.c
dlls/oleaut32/typelib.h

index 03119f29c9943946986d5adbfdb95f58dbf74209..adaad97def661f86bb09ed8aa7ef253df1385509 100644 (file)
@@ -81,8 +81,7 @@
 #include "urlmon.h"
 #include "wine/debug.h"
 #include "wine/unicode.h"
-
-#include "wine/wingdi16.h"
+#include "wine/library.h"
 
 #include "ungif.h"
 
index d1a719b12da63680dc1ee3dc7e6dfa082ceb2b30..75a30d212fffc82d205230874fc9a84c0c6c1c42 100644 (file)
@@ -66,7 +66,6 @@
 #include "winuser.h"
 #include "lzexpand.h"
 
-#include "wine/winbase16.h"
 #include "wine/unicode.h"
 #include "objbase.h"
 #include "typelib.h"
 WINE_DEFAULT_DEBUG_CHANNEL(ole);
 WINE_DECLARE_DEBUG_CHANNEL(typelib);
 
+typedef struct
+{
+    WORD     offset;
+    WORD     length;
+    WORD     flags;
+    WORD     id;
+    WORD     handle;
+    WORD     usage;
+} NE_NAMEINFO;
+
+typedef struct
+{
+    WORD        type_id;   /* Type identifier */
+    WORD        count;     /* Number of resources of this type */
+    DWORD       resloader; /* SetResourceHandler() */
+    /*
+     * Name info array.
+     */
+} NE_TYPEINFO;
+
 static HRESULT typedescvt_to_variantvt(ITypeInfo *tinfo, const TYPEDESC *tdesc, VARTYPE *vt);
 static HRESULT TLB_AllocAndInitVarDesc(const VARDESC *src, VARDESC **dest_ptr);
 
index 821981f1cdfa7e5c416f53ca1de37824d829c32d..1fe8ecf761955dbcc7430015803eb693ba12feb0 100644 (file)
@@ -26,7 +26,6 @@
 #include "windef.h"
 #include "winbase.h"
 #include "oleauto.h"
-#include "wine/windef16.h"
 
 #define HELPDLLFLAG (0x0100)
 #define DO_NOT_SEEK (-1)