stash
[wine/wine64.git] / dlls / msxml3 / uuid.c
bloba3c7965690e1ecb115c37a06a166a8a9cd91fbb0
1 /*
2 * MSXML2 uuids
4 * Copyright 2006 Huw Davies
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.
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.
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
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.
27 #include <stdarg.h>
29 #include "windef.h"
30 #include "winbase.h"
31 #include "winuser.h"
32 #include "ole2.h"
35 * First include the version 2 headers so that we don't redefine their
36 * uuids - they're already in libuuid
38 #include "xmldom.h"
39 #include "xmldso.h"
40 #include "msxml.h"
42 /* Now we can initialize the rest of the uuids */
43 #include "initguid.h"
44 #include "msxml2.h"
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:
52 * v.2.x v.3.0
54 * DOMFreeThreadedDocument FreeThreadedDOMDocument
55 * XMLHTTPRequest XMLHTTP
56 * XMLDSOControl DSOControl