[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Ansi)] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool GetClassInfoExA(IntPtr hinst, string lpszClass, out WNDCLASSEXA lpwcx );
Microsoft documentation: Link
Last updated 1 year ago