[PATCH] include: update thumbcache.idl file

Nikolay Sivov nsivov at codeweavers.com
Sun Dec 8 04:50:16 CST 2019


> +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_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;
There is no reason to change formatting here, or for any existing type.

> +[
> +    uuid(F4376F00-BEF5-4d45-80F3-1E023BBF1209),
> +]
> +interface IThumbnailSettings : IUnknown {
> +    HRESULT SetContext([in] WTS_CONTEXTFLAGS dwContext);
> +}
Please follow existing formatting - curly braces on separate line, lower 
case for hex digits. This patch shows that you copied from SDK headers, 
please don't do that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20191208/bc66db72/attachment.htm>


More information about the wine-devel mailing list