IRAPIStream::GetRapiStat

The IRAPIStream::GetRapiStat method obtains the current value of the timeout for the IStream::Read method.

Syntax

GetRapiStat(
    RAPISTREAMFLAG Flag,
    DWORD *pdwValue
    
);

At a Glance

Header file: rapi.h
Platforms: H/PC
Versions: 2.0 and later

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, returns Error_Invalid_Parameter otherwise.