xref: /reactos/dll/win32/msxml3/uuid.c (revision 40462c92)
1 /*
2  * MSXML2 uuids
3  *
4  * Copyright 2006 Huw Davies
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 
21 /*
22  * We can't use the autogenerated _i.c file from msxml2.idl as that
23  * will contain some of the (version 2) uuids defined in libuuid.
24  * Therefore we roll our own.
25  */
26 
27 #include <stdarg.h>
28 
29 #include "windef.h"
30 #include "winbase.h"
31 #include "winuser.h"
32 #include "ole2.h"
33 
34 /*
35  * First include the version 2 headers so that we don't redefine their
36  * uuids - they're already in libuuid
37  */
38 #include "msxml.h"
39 
40 /* Now we can initialize the rest of the uuids */
41 #include "initguid.h"
42 #include "msxml2.h"
43 
44 /*
45  * Note that because of a #define in msxml2.h, we end up initializing
46  * CLSID_DOMDocument2 to be the v.3 version independent DOMDocument
47  * class {f6d90f11-9c73-11d3-b32e-00c04f990bb4}.  The other version
48  * independent CLSIDs all have slightly different names:
49  *
50  * v.2.x                              v.3.0
51  *
52  * DOMFreeThreadedDocument            FreeThreadedDOMDocument
53  * XMLHTTPRequest                     XMLHTTP
54  * XMLDSOControl                      DSOControl
55  *
56  */
57