dwrite: Break out basic IDWriteFont creation from requiring a logfont.
[wine/multimedia.git] / include / atlcom.h
blobc141fbea473118ba6edda14d34f7178441679e2c
1 /*
2 * Copyright 2014 Qian Hong for CodeWeavers
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_ATLCOM_H__
20 #define __WINE_ATLCOM_H__
22 #ifndef __WINE_ATLBASE_H__
23 # error You must include atlbase.h to use this header
24 #endif
26 typedef struct ATL_PROPMAP_ENTRY
28 LPCOLESTR szDesc;
29 #if _ATL_VER < _ATL_VER_100
30 DISPID dispid;
31 const CLSID *pclsidPropPage;
32 const IID *piidDispatch;
33 #else
34 const CLSID *pclsidPropPage;
35 const IID *piidDispatch;
36 void *rgclsidAllowed;
37 DWORD cclsidAllowed;
38 DISPID dispid;
39 #endif
40 DWORD dwOffsetData;
41 DWORD dwSizeData;
42 VARTYPE vt;
43 } ATL_PROPMAP_ENTRY;
45 HRESULT WINAPI AtlIPersistStreamInit_Load(IStream*, ATL_PROPMAP_ENTRY*, void*, IUnknown*);
46 HRESULT WINAPI AtlIPersistStreamInit_Save(IStream*, BOOL, ATL_PROPMAP_ENTRY*, void*, IUnknown*);
47 HRESULT WINAPI AtlIPersistPropertyBag_Load(IPropertyBag*, IErrorLog*, ATL_PROPMAP_ENTRY*, void*, IUnknown*);
48 HRESULT WINAPI AtlIPersistPropertyBag_Save(IPropertyBag*, BOOL, BOOL, ATL_PROPMAP_ENTRY*, void*, IUnknown*);
50 #endif /* __WINE_ATLCOM_H__ */