DrawCaption

[DllImport("user32.dll", SetLastError = true)] [return: MarshalAs(UnmanagedType.Bool)]
public static extern bool DrawCaption(
   IntPtr hwnd,
   IntPtr hdc,
   [In] ref RECT lprc,
   uint flags
);

Microsoft documentation: Link

Last updated