DwmUpdateThumbnailProperties

[DllImport("dwmapi.dll", SetLastError = true)]
public static extern int DwmUpdateThumbnailProperties(
   IntPtr hThumbnailId,
   ref DWM_THUMBNAIL_PROPERTIES ptnProperties
);

Microsoft documentation: Link

Last updated