IRAPIStream::SetRapiStat (Windows CE 5.0)

Send Feedback

This method sets the timeout value for the IStream::Read method.

HRESULT SetRapiStat(RAPISTREAMFLAGFlag,DWORDdwValue);

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. The time out is in seconds.

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

IStream::Read

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.