Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenolestd.h
Go to the documentation of this file.
00001 /* 00002 * Copyright 2000 Abey George 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00017 */ 00018 00019 #if !defined( __WINE_OLESTD_H_ ) 00020 #define __WINE_OLESTD_H_ 00021 00022 #if !defined(__cplusplus) && !defined( __TURBOC__) 00023 #define NONAMELESSUNION /* use strict ANSI standard (for DVOBJ.H) */ 00024 #endif 00025 00026 /* Clipboard format strings */ 00027 #define CF_EMBEDSOURCE "Embed Source" 00028 #define CF_EMBEDDEDOBJECT "Embedded Object" 00029 #define CF_LINKSOURCE "Link Source" 00030 #define CF_CUSTOMLINKSOURCE "Custom Link Source" 00031 #define CF_OBJECTDESCRIPTOR "Object Descriptor" 00032 #define CF_LINKSRCDESCRIPTOR "Link Source Descriptor" 00033 #define CF_OWNERLINK "OwnerLink" 00034 #define CF_FILENAME "FileName" 00035 00036 #define OleStdQueryOleObjectData(lpformatetc) \ 00037 (((lpformatetc)->tymed & TYMED_ISTORAGE) ? \ 00038 NOERROR : ResultFromScode(DV_E_FORMATETC)) 00039 00040 #define OleStdQueryLinkSourceData(lpformatetc) \ 00041 (((lpformatetc)->tymed & TYMED_ISTREAM) ? \ 00042 NOERROR : ResultFromScode(DV_E_FORMATETC)) 00043 00044 #define OleStdQueryObjectDescriptorData(lpformatetc) \ 00045 (((lpformatetc)->tymed & TYMED_HGLOBAL) ? \ 00046 NOERROR : ResultFromScode(DV_E_FORMATETC)) 00047 00048 #define OleStdQueryFormatMedium(lpformatetc, tymd) \ 00049 (((lpformatetc)->tymed & tymd) ? \ 00050 NOERROR : ResultFromScode(DV_E_FORMATETC)) 00051 00052 /* Make an independent copy of a MetafilePict */ 00053 #define OleStdCopyMetafilePict(hpictin, phpictout) \ 00054 (*(phpictout) = OleDuplicateData(hpictin,CF_METAFILEPICT,GHND|GMEM_SHARE)) 00055 00056 #endif /* __WINE_OLESTD_H_ */ Generated on Sat May 26 2012 04:24:11 for ReactOS by
1.7.6.1
|