Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com --- include/Makefile.in | 1 + include/thumbcache.idl | 48 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 include/thumbcache.idl
diff --git a/include/Makefile.in b/include/Makefile.in index 908d92f101..5b4dac5ebe 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -633,6 +633,7 @@ SOURCES = \ tcpmib.h \ textserv.h \ textstor.idl \ + thumbcache.idl \ timezoneapi.h \ tlhelp32.h \ tlogstg.idl \ diff --git a/include/thumbcache.idl b/include/thumbcache.idl new file mode 100644 index 0000000000..1d312163e9 --- /dev/null +++ b/include/thumbcache.idl @@ -0,0 +1,48 @@ +/* + * Copyright 2019 Alistair Leslie-Hughes + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "unknwn.idl"; +import "objidl.idl"; + +typedef [v1_enum] enum WTS_FLAGS +{ + WTS_NONE = 0x00000000, + WTS_EXTRACT = 0x00000000, + WTS_INCACHEONLY = 0x00000001, + WTS_FASTEXTRACT = 0x00000002, + WTS_FORCEEXTRACTION = 0x00000004, + WTS_SLOWRECLAIM = 0x00000008, + WTS_EXTRACTDONOTCACHE = 0x00000020, + WTS_SCALETOREQUESTEDSIZE = 0x00000040, + WTS_SKIPFASTEXTRACT = 0x00000080, + WTS_EXTRACTINPROC = 0x00000100, + WTS_CROPTOSQUARE = 0x00000200, + WTS_INSTANCESURROGATE = 0x00000400, + WTS_REQUIRESURROGATE = 0x00000800, + WTS_APPSTYLE = 0x00002000, + WTS_WIDETHUMBNAILS = 0x00004000, + WTS_IDEALCACHESIZEONLY = 0x00008000, + WTS_SCALEUP = 0x00010000, +} WTS_FLAGS; + +typedef [v1_enum] enum WTS_ALPHATYPE +{ + WTSAT_UNKNOWN = 0, + WTSAT_RGB = 1, + WTSAT_ARGB = 2 +} WTS_ALPHATYPE;