Share via


IRAPIStream::GetRapiStat (Windows CE 5.0)

Send Feedback

This method gets the current value of the timeout for the IStream::Read method.

HRESULT GetRapiStat(RAPISTREAMFLAGFlag,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. The time out is in seconds.

Return Values

Returns S_OK if timeout value is retrieved successfully, or returns E_INVALIDARG otherwise.

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.