[MSXML3]
[reactos.git] / reactos / dll / win32 / msxml3 / uuid.c
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 #define WIN32_NO_STATUS
28 #define _INC_WINDOWS
29
30 #include <stdarg.h>
31
32 #include <windef.h>
33 #include <winbase.h>
34 #include <objbase.h>
35
36 /*
37 * First include the version 2 headers so that we don't redefine their
38 * uuids - they're already in libuuid
39 */
40 #include <msxml.h>
41
42 /* Now we can initialize the rest of the uuids */
43 #include <initguid.h>
44 #include <msxml2.h>
45
46 /*
47 * Note that because of a #define in msxml2.h, we end up initializing
48 * CLSID_DOMDocument2 to be the v.3 version independent DOMDocument
49 * class {f6d90f11-9c73-11d3-b32e-00c04f990bb4}. The other version
50 * independent CLSIDs all have slightly different names:
51 *
52 * v.2.x v.3.0
53 *
54 * DOMFreeThreadedDocument FreeThreadedDOMDocument
55 * XMLHTTPRequest XMLHTTP
56 * XMLDSOControl DSOControl
57 *
58 */