IRAPIStream::SetRapiStat (Compact 7)
3/12/2014
This method sets the time-out value for the IStream::Read method.
Syntax
HRESULT SetRapiStat(
RAPISTREAMFLAG Flag,
DWORD dwValue
);
Parameters
- Flag
[in] Used to set properties for the time-out. Currently, the only supported value is STREAM_TIMEOUT_READ.
- dwValue
[in] Specifies the time-out value, in seconds.
Return Value
- S_OK
The time-out value was retrieved successfully.
- E_INVALIDARG
The value of Flag was something other than STREAM_TIMEOUT_READ.
- E_PENDING
Asynchronous Storage only: Part or all of the stream's data is currently unavailable.
- STG_E_ACCESSDENIED
Insufficient access privileges for this stream object.
Remarks
IRAPIStream::SetRapiStat is modeled after IStream::Stat.
Requirements
Header |
rapi.h |
Library |
rapi.lib |
See Also
Reference
IRAPIStream
IRAPIStream::GetRapiStat