wineps: Fix a couple of typos in the path painting function.
[wine/testsucceed.git] / dlls / msxml3 / tests / xmlparser.c
blobec83a81c7e1dd874614dace86e336cf23ddafead
1 /*
2 * XML Parser implementation
4 * Copyright 2011 Alistair Leslie-Hughes
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
20 #define COBJMACROS
21 #define CONST_VTABLE
23 #include <stdio.h>
24 #include <assert.h>
26 #include "windows.h"
27 #include "ole2.h"
28 #include "initguid.h"
30 #include "wine/test.h"
32 DEFINE_GUID(IID_IXMLParser, 0xd242361e, 0x51a0, 0x11d2, 0x9c,0xaf, 0x00,0x60,0xb0,0xec,0x3d,0x39);
33 DEFINE_GUID(CLSID_XMLParser30, 0xf5078f31, 0xc551, 0x11d3, 0x89,0xb9, 0x00,0x00,0xf8,0x1f,0xe2,0x21);
35 static void create_test(void)
37 HRESULT hr;
38 IUnknown *parser;
40 hr = CoCreateInstance(&CLSID_XMLParser30, NULL, CLSCTX_INPROC_SERVER, &IID_IXMLParser, (void**)&parser);
41 if (FAILED(hr))
43 win_skip("IXMLParser is not available (0x%08x)\n", hr);
44 return;
47 IUnknown_Release(parser);
50 START_TEST(xmlparser)
52 HRESULT hr;
54 hr = CoInitialize( NULL );
55 ok( hr == S_OK, "failed to init com\n");
56 if (hr != S_OK)
57 return;
59 create_test();
61 CoUninitialize();