# saiTtsSetFetchHint

Specifies when the synthesizer retrieves content from a document server.

#### Prototype

DWORD saiTtsSetFetchHint ( SAI_SYNTHESIZER_HANDLE synth H d, SAI_FETCH_HINT hint )

Argument | Description
synthHd | Handle associated with a synthesizer resource.
hint | V alue that specifies 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 downloaded only 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.

#### See also

saiTtsGetFetchHint