ReactOS 0.4.16-dev-2332-g4cba65d
testlib.c
Go to the documentation of this file.
1/*
2 * Test library
3 *
4 * Copyright 2019 Nikolay Sivov
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#if 0
22#pragma makedep testdll
23#endif
24
25#include <stdio.h>
26#include <windows.h>
27#include <initguid.h>
28
29DEFINE_GUID(CLSID_WineOOPTest, 0x5201163f, 0x8164, 0x4fd0, 0xa1, 0xa2, 0x5d, 0x5a, 0x36, 0x54, 0xd3, 0xbd);
30DEFINE_GUID(IID_Testiface7, 0x82222222, 0x1234, 0x1234, 0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0);
31
33{
35 return 0x80001234;
36
38 return 0x80001235;
39
40 return E_NOTIMPL;
41}
#define E_NOTIMPL
Definition: ddrawi.h:99
REFIID riid
Definition: atlbase.h:39
static const GUID IID_Testiface7
Definition: compobj.c:99
static const CLSID CLSID_WineOOPTest
Definition: marshal.c:140
const CLSID * clsid
Definition: msctf.cpp:50
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define REFIID
Definition: guiddef.h:118
#define REFCLSID
Definition: guiddef.h:117
HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID riid, void **obj)
Definition: testlib.c:32
#define WINAPI
Definition: msvc.h:6