Make sure dllname doesn't get optimized out (spotted by Marcus
[wine/multimedia.git] / include / ocidl.h
blob61c112b246bb9ff178905931c4f9878ed7d07661
1 /*
2 * Copyright (C) 1999 Francis Beaudet
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include "rpc.h"
20 #include "rpcndr.h"
21 #ifndef COM_NO_WINDOWS_H
22 #include "windows.h"
23 #include "ole2.h"
24 #endif
26 #ifndef __WINE_OCIDL_H
27 #define __WINE_OCIDL_H
29 #if defined(__WINESRC__) && !defined(INITGUID) && !defined(__WINE_INCLUDE_OCIDL)
30 #error DO NOT INCLUDE DIRECTLY
31 #endif
33 #define __WINE_INCLUDE_OLEIDL
34 #include "oleidl.h"
35 #undef __WINE_INCLUDE_OLEIDL
37 #define __WINE_INCLUDE_OAIDL
38 #include "oaidl.h"
39 #undef __WINE_INCLUDE_OAIDL
41 #include "wine/obj_olefont.h"
42 #include "wine/obj_picture.h"
44 #include "wine/obj_control.h"
45 #include "wine/obj_connection.h"
46 #include "wine/obj_property.h"
47 #include "wine/obj_oleundo.h"
49 #endif /* __WINE_OCIDL_H */