ReleaseDC

[DllImport("user32.dll", SetLastError = true)]
public static extern int ReleaseDC(
   IntPtr hWnd,
   IntPtr hDC
);

Microsoft documentation: Link

Last updated