IRAPIStream::SetRapiStat
This method sets the timeout value for the IStream::Read method.
SetRapiStat(
RAPISTREAMFLAG Flag,
DWORD dwValue);
Parameters
- Flag
Used to set properties for the timeout. Currently, the only supported value is STREAM_TIMEOUT_READ. - dwValue
Specifies the value of the timeout.
Return Values
Returns S_OK if timeout value is set successfully, or returns Error_Invalid_Parameter otherwise.
Remarks
STREAM_TIMEOUT_READ allows setting timeouts on the IStream::Read method.
Requirements
Runs On | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.0 and later | Rapi.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.