RegisterClassEx

[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern ushort RegisterClassEx(
   ref WNDCLASSEX lpwcx
);

Microsoft documentation: Link

Last updated