Partager via


ReadInt (Windows Embedded CE 6.0)

1/6/2010

This function reads an integer from an IStream.

Syntax

STDAPI_(int)ReadInt(
  IStream* pIStream,
  HRESULT &hr
);

Parameters

  • pIStream
    Pointer to an IStream from which the encoded integer is to be read.
  • hr
    Reference to an HRESULT value (output).

Return Value

Returns the integer value (truncated to 32 bits), or zero if an error occurred.

Remarks

This function is a stripped-down subset of what sscanf can do (without dragging in the C run time).

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

Requirements

Windows Embedded CE Windows CE 3.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