[ros-diffs] [tkreuzer] 49837: [UUID] Add a number of GUIDs. They are duplicated from idl generated headers, because of a small difference between widl and midl. widl generates "DEFINE_GUID" entries for each in...

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sun Nov 28 10:12:35 UTC 2010


Author: tkreuzer
Date: Sun Nov 28 10:12:35 2010
New Revision: 49837

URL: http://svn.reactos.org/svn/reactos?rev=49837&view=rev
Log:
[UUID]
Add a number of GUIDs. They are duplicated from idl generated headers, because of a small difference between widl and midl. widl generates "DEFINE_GUID" entries for each interface, while midl generates "extern GUID" only. The latter matching MS SDK headers. If someone can think of a more elegant way of solving this, let me know.

Modified:
    branches/cmake-bringup/lib/sdk/uuid/uuid.c

Modified: branches/cmake-bringup/lib/sdk/uuid/uuid.c
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/sdk/uuid/uuid.c?rev=49837&r1=49836&r2=49837&view=diff
==============================================================================
--- branches/cmake-bringup/lib/sdk/uuid/uuid.c [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/sdk/uuid/uuid.c [iso-8859-1] Sun Nov 28 10:12:35 2010
@@ -174,3 +174,27 @@
 DEFINE_GUID(GUID_COMPARTMENT_PERSISTMENUENABLED,    0x575f3783,0x70c8,0x47c8,0xae,0x5d,0x91,0xa0,0x1a,0x1f,0x75,0x92);
 DEFINE_GUID(GUID_COMPARTMENT_EMPTYCONTEXT,          0xd7487dbf,0x804e,0x41c5,0x89,0x4d,0xad,0x96,0xfd,0x4e,0xea,0x13);
 DEFINE_GUID(GUID_COMPARTMENT_TIPUISTATUS,           0x148ca3ec,0x0366,0x401c,0x8d,0x75,0xed,0x97,0x8d,0x85,0xfb,0xc9);
+
+#ifdef _MSC_VER
+DEFINE_GUID(IID_IUnknown,          0x00000000, 0x0000, 0x0000, 0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IClassFactory,     0x00000001, 0x0000, 0x0000, 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IMoniker,          0x0000000f, 0x0000, 0x0000, 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IEnumMoniker,      0x00000102, 0x0000, 0x0000, 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IPersistStream,    0x00000109, 0x0000, 0x0000, 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IPersistFile,      0x0000010b, 0x0000, 0x0000, 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IPersist,          0x0000010c, 0x0000, 0x0000, 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IDataObject,       0x0000010e, 0x0000, 0x0000, 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IOleWindow,        0x00000114, 0x0000, 0x0000, 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IParseDisplayName, 0x0000011a, 0x0000, 0x0000, 0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IDropTarget,       0x00000122, 0x0000, 0x0000, 0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID(IID_IDropTargetHelper, 0x4657278b, 0x411b, 0x11d2, 0x83,0x9a,0x00,0xc0,0x4f,0xd9,0x18,0xd0);
+DEFINE_GUID(IID_IOleCommandTarget, 0xb722bccb, 0x4e68, 0x101b, 0xa2,0xbc,0x00,0xaa,0x00,0x40,0x47,0x70);
+DEFINE_GUID(IID_IServiceProvider,  0x6d5140c1, 0x7436, 0x11ce, 0x80,0x34,0x00,0xaa,0x00,0x60,0x09,0xfa);
+DEFINE_GUID(IID_IBandSite,         0x4CF504B0, 0xDE96, 0x11D0, 0x8B,0x3F,0x00,0xA0,0xC9,0x11,0xE8,0xE5);
+DEFINE_GUID(IID_IObjectWithSite,   0xFC4801A3, 0x2BA9, 0x11CF, 0xA2,0x29,0x00,0xAA,0x00,0x3D,0x73,0x52);
+DEFINE_GUID(IID_IDeskBand,         0xEB0FE172, 0x1A3A, 0x11D0, 0x89,0xB3,0x00,0xA0,0xC9,0x0A,0x90,0xAC);
+DEFINE_GUID(IID_IShellService,     0x5836FB00, 0x8187, 0x11CF, 0xA1,0x2B,0x00,0xAA,0x00,0x4A,0xE8,0x37);
+DEFINE_GUID(IID_IPropertyBag,      0x55272A00, 0x42CB, 0x11CE, 0x81,0x35,0x00,0xAA,0x00,0x4B,0xB8,0x51);
+DEFINE_GUID(IID_IPersistPropertyBag, 0x37D84F60, 0x42CB, 0x11CE, 0x81,0x35,0x00,0xAA,0x00,0x4B,0xB8,0x51);
+#endif
+




More information about the Ros-diffs mailing list