Share via


WriteInt (Compact 2013)

3/26/2014

This function writes an integer to an IStream, encoded as described in Stream Integer Functions.

Syntax

STDAPI WriteInt(
  IStream* pIStream,
  int n
);

Parameters

  • pIStream
    Pointer to an IStream to which the encoded integer is to be written.
  • n
    Integer value to be written.

Return Value

Returns an HRESULT value.

Remarks

The ReadInt function can be used to read the value written by WriteInt.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Stream Integer Functions