Partager via


WriteInt

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

Stream Integer Functions