Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRandomAccessStream::GetInputStreamAt method

Gets a byte reader that's positioned at the specified offset.

Syntax


HRESULT GetInputStreamAt(
  [in]           ULONGLONG position,
  [out, retval]  IInputStream **stream
);

Parameters

position [in]

The offset, in bytes, from the start of the stream.

stream [out, retval]

A byte reader that starts at position bytes from the start of the random access stream.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Robytestream.h

IDL

Robytestream.idl

See also

IRandomAccessStream
IInputStream

 

 

Community Additions

Show:
© 2014 Microsoft. All rights reserved.