Use wide character API when available. Document that string parameters and