The IRAPIStream::SetRapiStat method sets the timeout value for the IStream::Read method.
SetRapiStat(
RAPISTREAMFLAG Flag,
DWORD dwValue
);
Header file: | rapi.h |
Platforms: | H/PC |
Versions: | 2.0 and later |
Currently, the only supported flag, STREAM_TIMEOUT_READ, allows setting timeouts on the IStream::Read method:
Returns S_OK if timeout value is set successfully, returns Error_Invalid_Parameter otherwise.