This method gets the current value of the timeout for the IStream::Read method.
At a Glance
Header file: | Rapi.h |
Windows CE versions: | 2.0 and later |
Syntax
GetRapiStat( RAPISTREAMFLAG Flag, DWORD *pdwValue );
Parameters
Flag
Used to set properties for the timeout. Currently, the only supported value is STREAM_TIMEOUT_READ.
pdwValue
Pointer to the value of the timeout.
Return Value
Returns S_OK if timeout value is retrieved successfully, or returns Error_Invalid_Parameter otherwise.