8 references to IPicture
System.Private.Windows.Core (8)
Windows\Win32\System\Ole\IPicture.cs (8)
14
using ComScope<
IPicture
> picture = CreateFromImage(image);
18
public static ComScope<
IPicture
> CreateFromImage(IImage image)
21
ComScope<
IPicture
> picture = new(null);
22
PInvokeCore.OleCreatePictureIndirect(&desc, IID.Get<
IPicture
>(), fOwn: true, picture).ThrowOnFailure();
29
using ComScope<
IPicture
> picture = CreateFromIcon(icon, copy);
33
public static ComScope<
IPicture
> CreateFromIcon(IIcon icon, bool copy)
36
ComScope<
IPicture
> picture = new(null);
37
PInvokeCore.OleCreatePictureIndirect(&desc, IID.Get<
IPicture
>(), fOwn: copy, picture).ThrowOnFailure();