RegisterClass

[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern ushort RegisterClass(
   ref WNDCLASS lpWndClass
);

Microsoft documentation: Link

Last updated