/// <summary> /// Creates a new thumbnail given a destination form handle and a source form handle /// </summary> /// <param name="hwndDestination">Handle of the form where the thumbnail will appear</param> /// <param name="hwndSource">Handle of the form for which the thumbnail is created</param> public Thumbnail(IntPtr hwndDestination, IntPtr hwndSource) { // Native API call handle = DwmRegisterThumbnail(hwndDestination, hwndSource); // Initialize properties structure properties = new ThumbnailProperties(); }
private static extern void DwmUpdateThumbnailProperties(IntPtr hThumbnailId, ref ThumbnailProperties ptnProperties);