Condividi tramite


IRandomAccessStream::GetOutputStreamAt method

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

Syntax

HRESULT GetOutputStreamAt(
  [in]          ULONGLONG     position,
  [out, retval] IOutputStream **stream
);

Parameters

  • position [in]
    The offset, in bytes, from the start of the random access stream.

  • stream [out, retval]
    A byte writer 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

IOutputStream