IRAPIStream::SetRapiStat
This method sets the timeout value for the IStream::Read method.
HRESULT 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 E_INVALIDARG otherwise.
Remarks
STREAM_TIMEOUT_READ allows setting timeouts on the IStream::Read method.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Rapi.h.
Link Library: Rapi.lib.
See Also
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.