Tolk_PreferSAPI method

void Tolk_PreferSAPI(
  1. bool preferSAPI
)

Name: Tolk_PreferSAPI Description: If auto-detection for SAPI has been turned on through Tolk_TrySAPI, sets if SAPI should be placed first (true) or last (false) in the screen reader detection list. Putting it last is the default and is good for using SAPI as a fallback option. Putting it first is good for ensuring SAPI is used even when a screen reader is running, but keep in mind screen readers will still be tried if SAPI is unavailable. This function triggers the screen reader detection process if needed. For best performance, you should call this function before calling Tolk_Load. Parameters: preferSAPI: whether or not to prefer SAPI over screen reader drivers in auto-detection. Returns: None.

Implementation

void Tolk_PreferSAPI(
  bool preferSAPI,
) {
  return _Tolk_PreferSAPI(
    preferSAPI,
  );
}