Share via


IRAPIStream::GetRapiStat

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

HRESULT 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 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

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.