IsValidLocale

[DllImport("Kernel32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.Bool)]
public static extern bool IsValidLocale(
   uint Locale,
   uint dwFlags
);

Microsoft documentation: Link

Last updated