Type library creation, take 3, part 1 of 6
Nyef
nyef at softhome.net
Sat Feb 7 06:11:50 CST 2004
Hello all.
This is the first of six patches covering my changes to the
type library creation code over the past fortnight.
This patch contains:
Support for recording the SYSKIND of the type library.
--Alastair Bridgewater
-------------- next part --------------
--- typelib2.c.last 2004-02-07 06:51:32.000000000 -0500
+++ typelib2.c 2004-02-07 06:51:57.000000000 -0500
@@ -181,7 +181,7 @@
This->typelib_header.posguid = -1;
This->typelib_header.lcid = 0x0409; /* or do we use the current one? */
This->typelib_header.lcid2 = 0x0409;
- This->typelib_header.varflags = 0x41;
+ This->typelib_header.varflags = 0x40;
This->typelib_header.version = 0;
This->typelib_header.flags = 0;
This->typelib_header.nrtypeinfos = 0;
@@ -3098,6 +3098,8 @@
ctl2_init_header(pCreateTypeLib2Impl);
ctl2_init_segdir(pCreateTypeLib2Impl);
+ pCreateTypeLib2Impl->typelib_header.varflags |= syskind;
+
/*
* The following two calls return an offset or -1 if out of memory. We
* specifically need an offset of 0, however, so...
More information about the wine-patches
mailing list