Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method gets the current value of the time-out for the IStream::Read method.
HRESULT GetRapiStat(
RAPISTREAMFLAG Flag,
DWORD * pdwValue
);
Parameters
- Flag
[in] Used to get properties for the time-out. Currently, the only supported value is STREAM_TIMEOUT_READ. - pdwValue
[out] Reference to the time-out value. The value is in seconds.
Return Values
- 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::GetRapiStat is modeled after IStream::Stat.
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: rapi.h
Library: rapi.lib
See Also
IRAPIStream | IRAPIStream::SetRapiStat | IStream::Read | IStream::Stat
Send Feedback on this topic to the authors