# saiTtsGetFetchHint

Retrieves when the synthesizer retrieves content from a document server.

#### Prototype

DWORD saiTtsGetFetchHint ( SAI_SYNTHESIZER_HANDLE synth H d, SAI_FETCH_HINT *hint )

Argument | Description
synthHd | Handle associated with a synthesizer resource.
hint | Pointer to a value that indicates when the synthesizer can retrieve documents from another resource. Allowed values are: SAI_FETCH_HINT_PREFETCH [0]: A file can be downloaded when the request is received. SAI_FETCH_HINT_SAFE [1]: Files are only downloaded when required.

#### Return values

Return value | Description
SUCCESS |
SAIERR_INVALID_PARAMETER | One of the specified arguments is invalid.
SAIERR_UNSUPPORTED_SPEECH_PARAMETER | Speech engine does not support the specified parameter.

#### Details

Use saiTtsGetFetchHint to set the URL access properties to apply when the synthesizer needs to fetch documents or other resources such as speech markup or audio files.

#### See also

saiTtsSetFetchHint