[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Ansi)] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool GetClassInfoA(IntPtr hInstance, string lpClassName, [Out] out WNDCLASS lpWndClass );
Microsoft documentation: Link
Last updated 1 year ago