af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2002 Ove Kaaven
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2004 Francois Gouget
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2005 Juan Lang
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * a choice of LGPL license versions is made available with the language indicating
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * of the LGPL is applied is otherwise unspecified.
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport "objidl.idl";
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport "oaidl.idl";
af062818b47340eef15700d2f0211576ba3506eevboxsync * Windows SDK braindamage alert
af062818b47340eef15700d2f0211576ba3506eevboxsync * PID_DICTIONARY and PID_CODEPAGE are defined by msidefs.h too
af062818b47340eef15700d2f0211576ba3506eevboxsync * PID_SECURITY is defined in msidefs.h with a different value!
af062818b47340eef15700d2f0211576ba3506eevboxsync * So these need to be undefined first.
af062818b47340eef15700d2f0211576ba3506eevboxsync/******************** Property Storage ********************/
af062818b47340eef15700d2f0211576ba3506eevboxsync typedef [unique] IPropertyStorage *LPPROPERTYSTORAGE;
af062818b47340eef15700d2f0211576ba3506eevboxsync [case(VT_STREAM, VT_STREAMED_OBJECT)] IStream *pStream;
af062818b47340eef15700d2f0211576ba3506eevboxsync [case(VT_STORAGE, VT_STORED_OBJECT)] IStorage *pStorage;
af062818b47340eef15700d2f0211576ba3506eevboxsync [case(VT_FILETIME|VT_VECTOR)] CAFILETIME cafiletime;
af062818b47340eef15700d2f0211576ba3506eevboxsync [case(VT_BSTR_BLOB|VT_VECTOR)] CABSTRBLOB cabstrblob;
af062818b47340eef15700d2f0211576ba3506eevboxsync [case(VT_VARIANT|VT_VECTOR)] CAPROPVARIANT capropvar;
af062818b47340eef15700d2f0211576ba3506eevboxsync [case(VT_BYREF|VT_DISPATCH)] IDispatch **ppdispVal;
5112e32d7072e280613921c982a6672f2c859cf3vboxsync cpp_quote("#define REFPROPVARIANT const PROPVARIANT &")
5112e32d7072e280613921c982a6672f2c859cf3vboxsync cpp_quote("#define REFPROPVARIANT const PROPVARIANT * __MIDL_CONST")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDI_THUMBNAIL 0x00000002L /* VT_BLOB */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_TITLE 0x00000002L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_SUBJECT 0x00000003L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_AUTHOR 0x00000004L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_KEYWORDS 0x00000005L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_COMMENTS 0x00000006L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_TEMPLATE 0x00000007L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_LASTAUTHOR 0x00000008L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_REVNUMBER 0x00000009L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_EDITTIME 0x0000000AL /* VT_FILETIME (UTC) */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_LASTPRINTED 0x0000000BL /* VT_FILETIME (UTC) */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_CREATE_DTM 0x0000000CL /* VT_FILETIME (UTC) */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_LASTSAVE_DTM 0x0000000DL /* VT_FILETIME (UTC) */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_PAGECOUNT 0x0000000EL /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_WORDCOUNT 0x0000000FL /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_CHARCOUNT 0x00000010L /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_THUMBNAIL 0x00000011L /* VT_CF */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_APPNAME 0x00000012L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDSI_DOC_SECURITY 0x00000013L /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_CATEGORY 0x00000002L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_PRESFORMAT 0x00000003L /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_BYTECOUNT 0x00000004L /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_LINECOUNT 0x00000005L /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_PARCOUNT 0x00000006L /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_SLIDECOUNT 0x00000007L /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_NOTECOUNT 0x00000008L /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_HIDDENCOUNT 0x00000009L /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_MMCLIPCOUNT 0x0000000AL /* VT_I4 */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_SCALE 0x0000000BL /* VT_BOOL */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_HEADINGPAIR 0x0000000CL /* VT_VARIANT|VT_VECTOR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_DOCPARTS 0x0000000DL /* VT_LPSTR|VT_VECTOR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_MANAGER 0x0000000EL /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_COMPANY 0x0000000FL /* VT_LPSTR */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PIDDSI_LINKSDIRTY 0x00000010L /* VT_B0OL */")
af062818b47340eef15700d2f0211576ba3506eevboxsync [default] ;
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("/* Macros for dwOSVersion member of STATPROPSETSTG */")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PROPSETHDR_OSVER_KIND(dwOSVer) HIWORD((dwOSVer))")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PROPSETHDR_OSVER_MAJOR(dwOSVer) LOBYTE(LOWORD((dwOSVer)))")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PROPSETHDR_OSVER_MINOR(dwOSVer) HIBYTE(LOWORD((dwOSVer)))")
af062818b47340eef15700d2f0211576ba3506eevboxsync cpp_quote("#define PROPSETHDR_OSVERSION_UNKNOWN 0xffffffff")
af062818b47340eef15700d2f0211576ba3506eevboxsync [in, size_is(cpspec)] const PROPVARIANT rgpropvar[],
af062818b47340eef15700d2f0211576ba3506eevboxsync [in, size_is(cpropid)] const LPOLESTR rglpwstrName[]);
af062818b47340eef15700d2f0211576ba3506eevboxsync typedef [unique] IPropertySetStorage *LPPROPERTYSETSTORAGE;
af062818b47340eef15700d2f0211576ba3506eevboxsync typedef [unique] IEnumSTATPROPSTG *LPENUMSTATPROPSTG;
af062818b47340eef15700d2f0211576ba3506eevboxsync typedef [unique] IEnumSTATPROPSETSTG *LPENUMSTATPROPSETSTG;
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("HRESULT WINAPI FreePropVariantArray(ULONG,PROPVARIANT*);")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("HRESULT WINAPI PropVariantClear(PROPVARIANT*);")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("HRESULT WINAPI PropVariantCopy(PROPVARIANT*,const PROPVARIANT*);")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#define PropVariantInit(p) memset((p), 0, sizeof(PROPVARIANT))")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("HRESULT WINAPI StgCreatePropStg(IUnknown *, REFFMTID, const CLSID *, DWORD, DWORD, IPropertyStorage **);")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("HRESULT WINAPI StgOpenPropStg(IUnknown *, REFFMTID, DWORD, DWORD, IPropertyStorage **);")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("HRESULT WINAPI StgCreatePropSetStg(IStorage *, DWORD, IPropertySetStorage **);")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("HRESULT WINAPI FmtIdToPropStgName(const FMTID *, LPOLESTR);")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("HRESULT WINAPI PropStgNameToFmtId(const LPOLESTR, FMTID *);")
af062818b47340eef15700d2f0211576ba3506eevboxsynccpp_quote("#endif /* _STGCREATEPROPSTG_DEFINED_ */")