0fcedc2026004f49df31332ed693e0b410799e8b
[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 "winuser.h"
35 #include <ole2.h>
36
37 /*
38 * First include the version 2 headers so that we don't redefine their
39 * uuids - they're already in libuuid
40 */
41 //#include "msxml.h"
42
43 /* Now we can initialize the rest of the uuids */
44 #include <initguid.h>
45 #include <msxml2.h>
46
47 /*
48 * Note that because of a #define in msxml2.h, we end up initializing
49 * CLSID_DOMDocument2 to be the v.3 version independent DOMDocument
50 * class {f6d90f11-9c73-11d3-b32e-00c04f990bb4}. The other version
51 * independent CLSIDs all have slightly different names:
52 *
53 * v.2.x v.3.0
54 *
55 * DOMFreeThreadedDocument FreeThreadedDOMDocument
56 * XMLHTTPRequest XMLHTTP
57 * XMLDSOControl DSOControl
58 *
59 */