[DllImport("dwmapi.dll", SetLastError = true)] public static extern int DwmQueryThumbnailSourceSize( IntPtr hThumbnail, out SIZE size );
Microsoft documentation: Link
Last updated 1 year ago