InputStreamOptions enumeration

Provides settings for the ReadAsync method.

Syntax


typedef enum _InputStreamOptions { 
  None       = 0,
  Partial    = 1,
  ReadAhead  = 2
} InputStreamOptions;

Constants

None

No options specified.

Partial

The asynchronous read operation completes when a non-zero number of bytes, up to the specified count, are available, or the reader encounters the end of the stream.

ReadAhead

The asynchronous read operation may optionally perform read ahead, or prefetch, additional bytes.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Robytestream.h

See also

IInputStream::ReadAsync

 

 

Show: