[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode)] public static extern ushort RegisterClass( ref WNDCLASS lpWndClass );
Microsoft documentation: Link
Last updated 2 months ago