ReleaseDC

[DllImport("coredll.dll", SetLastError = true)]
public static extern int ReleaseDC(
   IntPtr hwnd,
   IntPtr hdc
);

Microsoft documentation: Link

Last updated