Sets the engine request timeout value in milliseconds.
PPS_ENGINE pEngine
An opaque handle to an engine created by the EngCreateEngine function.
uint32_t Timeout
The engine request timeout value in milliseconds.
If the function succeeds, the return value is PULSE_STATUS_SUCCESS.
If it fails, it returns one of the PULSE_STATUS values. Possible return codes include, but are not limited to, the following:
| PULSE_STATUS_INVALID_PARAMETER0xC0000010 | pEngine argument is NULL. |
This timeout defines the maximum amount of time that the engine will wait for the request to complete. It does not depend on the retry count set by the EngSetRequestRetryCount function. Regardless of whether 0 or 10 retries were requested, the overall wait time remains this value.
It is currently recommended to keep the timeout value divided by the retry count value at more than 1000 milliseconds (1 second). Depending on the system, the engine request might not be able to complete in time, which could disrupt the internal request tracker.
The default timeout value is set to 3000 milliseconds (3 seconds) when the engine is created.
It can be set at any moment during the engine's lifetime.