Example #1
0
 /// <summary>Initializes a new instance of the <see cref="LiveThumbnail"/> class.</summary>
 /// <param name="win">The window.</param>
 internal LiveThumbnail(IWin32Window win)
 {
     hThumbnail           = DesktopWindowManager.thumbnailMgr.Register(win);
     SourceClientAreaOnly = true;
     tProps.opacity       = 255;
 }
 public static extern HRESULT DwmUnregisterThumbnail(HTHUMBNAIL hThumbnailId);
 public static extern HRESULT DwmUpdateThumbnailProperties(HTHUMBNAIL hThumbnailId, [NativeTypeName("const DWM_THUMBNAIL_PROPERTIES *")] DWM_THUMBNAIL_PROPERTIES *ptnProperties);
 public static extern HRESULT DwmQueryThumbnailSourceSize(HTHUMBNAIL hThumbnail, [NativeTypeName("PSIZE")] SIZE *pSize);