[PATCH 1/5] include: Add definition for IShellItemImageFactory.

Byeongsik Jeon bsjeon at hanmail.net
Sat Apr 23 04:50:41 CDT 2022


On 3/18/22 2:41 AM, Jinoh Kang wrote:
> Signed-off-by: Jinoh Kang <jinoh.kang.kr at gmail.com>
> ---
> 
> Notes:
>     v1 -> v2: no changes
> 
>  include/shobjidl.idl | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
> 
> diff --git a/include/shobjidl.idl b/include/shobjidl.idl
> index c1a36ab5e93..11b84c0d4f7 100644
> --- a/include/shobjidl.idl
> +++ b/include/shobjidl.idl
> @@ -471,6 +471,36 @@ interface IShellItem2 : IShellItem
>          [out] BOOL *pf);
>  }
>  
> +/*****************************************************************************
> + * IShellItemImageFactory interface
> + */
> +[
> +    object,
> +    uuid(BCC18B79-BA16-442F-80C4-8A59C30C463B),
> +    pointer_default(unique)
> +]

Hi,
Your last ws2_32 patch series has helped me a lot; Thank you.

This patch series solves following problem of KakaoTalk[1]:
---
0114:fixme:shell:ShellItem_QueryInterface not implemented for
{bcc18b79-ba16-442f-80c4-8a59c30c463b} (unknown)

... And, Wine crashing ...
---

Please, Keep going!


[1]
KakaoTalk is a mobile, PC, and Mac messenger that occupies the top
position in the Korean market. This application is widely used for
personal or business operations.

Unfortunately, the app development company is not interested in Linux
support.


> +interface IShellItemImageFactory : IUnknown
> +{
> +    [v1_enum] enum _SIIGBF {
> +        SIIGBF_RESIZETOFIT     = 0x00000000,
> +        SIIGBF_BIGGERSIZEOK    = 0x00000001,
> +        SIIGBF_MEMORYONLY      = 0x00000002,
> +        SIIGBF_ICONONLY        = 0x00000004,
> +        SIIGBF_THUMBNAILONLY   = 0x00000008,
> +        SIIGBF_INCACHEONLY     = 0x00000010,
> +        SIIGBF_CROPTOSQUARE    = 0x00000020,
> +        SIIGBF_WIDETHUMBNAILS  = 0x00000040,
> +        SIIGBF_ICONBACKGROUND  = 0x00000080,
> +        SIIGBF_SCALEUP         = 0x00000100,
> +    };
> +    typedef DWORD SIIGBF;
> +
> +    HRESULT GetImage(
> +        [in] SIZE size,
> +        [in] SIIGBF flags,
> +        [out] HBITMAP *phbm);
> +}
> +
>  typedef [v1_enum] enum tagNWMF {
>      NWMF_UNLOADING        = 0x00000001,
>      NWMF_USERINITED       = 0x00000002,




More information about the wine-devel mailing list