See Also: IStream Members
For more information, see the existing documentation for IStream and ISequentialStream in the the MSDN Library.
The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.