Disable old-api functions with windows types