ReadInt (Windows CE 5.0)
This function reads an integer from an IStream.
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 Values
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
DirectShow applications and DirectShow filters have different include file and link library requirements.
For more information, see Setting Up the Build Environment.
OS Versions: Windows CE 3.0 and later.
Header:
See Also
Send Feedback on this topic to the authors