1 implementation of IStream
PresentationFramework (1)
src\Framework\MS\Internal\IO\Packaging\managedIStream.cs (1)
30internal class ManagedIStream : IStream
53 references to IStream
mscorlib (4)
system\runtime\interopservices\ComTypes\imoniker.cs (2)
39void Load(IStream pStm); 40void Save(IStream pStm, [MarshalAs(UnmanagedType.Bool)] bool fClearDirty);
system\runtime\interopservices\ComTypes\istream.cs (2)
49void CopyTo(IStream pstm, Int64 cb, IntPtr pcbRead, IntPtr pcbWritten); 55void Clone(out IStream ppstm);
PresentationCore (5)
Core\CSharp\System\Windows\DataObject.cs (5)
841IStream istream = null; 845medium.unionmember = Marshal.GetComInterfaceForObject(istream, typeof(IStream)); 1190private static int Win32CreateStreamOnHGlobal(IntPtr hGlobal, bool fDeleteOnRelease, ref IStream istream) 1875IStream istream = (IStream)( Marshal.GetObjectForIUnknown(medium.unionmember) );
PresentationFramework (19)
src\Framework\MS\Internal\AppModel\ShellProvider.cs (1)
22using IStream = System.Runtime.InteropServices.ComTypes.IStream;
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (1)
250System.Runtime.InteropServices.ComTypes.IStream iStream =
src\Framework\MS\Internal\Interop\IndexingFilter.cs (2)
795void Load(System.Runtime.InteropServices.ComTypes.IStream pstm); 803void Save(System.Runtime.InteropServices.ComTypes.IStream pstm, [MarshalAs(UnmanagedType.Bool)] bool fRemember);
src\Framework\MS\Internal\IO\Packaging\managedIStream.cs (13)
57void IStream.Read(Byte[] buffer, Int32 bufferSize, IntPtr bytesReadPtr) 79void IStream.Seek(Int64 offset, Int32 origin, IntPtr newPositionPtr) 112void IStream.SetSize(Int64 libNewSize) 129void IStream.Stat(out System.Runtime.InteropServices.ComTypes.STATSTG streamStats, int grfStatFlag) 165void IStream.Write(Byte[] buffer, Int32 bufferSize, IntPtr bytesWrittenPtr) 183void IStream.Clone(out IStream streamCopy) 195void IStream.CopyTo(IStream targetStream, Int64 bufferSize, IntPtr buffer, IntPtr bytesWrittenPtr) 206void IStream.Commit(Int32 flags) 217void IStream.LockRegion(Int64 offset, Int64 byteCount, Int32 lockType) 228void IStream.Revert() 239void IStream.UnlockRegion(Int64 offset, Int64 byteCount, Int32 lockType)
src\Framework\System\Windows\Standard\NativeMethods.cs (2)
23using IStream = System.Runtime.InteropServices.ComTypes.IStream; 3258public static extern Status GdipCreateBitmapFromStream(IStream stream, out IntPtr bitmap);
System.Core (3)
System\Security\Cryptography\ManifestSignatureInformation.cs (3)
70IStream manifestStream = null; 72manifestStream = InternalActivationContextHelper.GetApplicationComponentManifest(application) as IStream; 75manifestStream = InternalActivationContextHelper.GetDeploymentComponentManifest(application) as IStream;
System.Management (6)
InteropClasses\WMIInterop.cs (6)
87System.Runtime.InteropServices.ComTypes.IStream stream = null; 110System.Runtime.InteropServices.ComTypes.IStream stream = null; 431static extern System.Runtime.InteropServices.ComTypes.IStream CreateStreamOnHGlobal(IntPtr hGlobal, int fDeleteOnRelease); 434static extern IntPtr GetHGlobalFromStream([In] System.Runtime.InteropServices.ComTypes.IStream pstm); 455[In] System.Runtime.InteropServices.ComTypes.IStream pStm, //Pointer to the stream used for marshaling 465[In] System.Runtime.InteropServices.ComTypes.IStream pStm, //Pointer to the stream
System.ServiceModel (10)
System\ServiceModel\ComIntegration\IMoniker.cs (2)
23void Load(IStream pStm); 24void Save(IStream pStm, [MarshalAs(UnmanagedType.Bool)] bool fClearDirty);
System\ServiceModel\ComIntegration\PersistStreamTypeWrapper.cs (4)
33void Load([In] IStream pStm); 34void Save([In] IStream pStm, [In, 75IStream stream = SafeNativeMethods.CreateStreamOnHGlobal(SafeHGlobalHandle.InvalidHandle, false); 107IStream stream = SafeNativeMethods.CreateStreamOnHGlobal(hGlobal, false);
System\ServiceModel\ComIntegration\SafeNativeMethods.cs (2)
434public static extern IStream CreateStreamOnHGlobal( 440public static extern SafeHGlobalHandle GetHGlobalFromStream(IStream stream);
System\ServiceModel\ComIntegration\ServiceMoniker.cs (2)
50void IMoniker.Load(IStream stream) 55void IMoniker.Save(IStream stream, bool isDirty)
System.Web (1)
Configuration\IAssemblyCacheItem.cs (1)
14void CreateStream([MarshalAs(UnmanagedType.LPWStr)] String pszName,uint dwFormat, uint dwFlags, uint dwMaxSize, out System.Runtime.InteropServices.ComTypes.IStream ppStream);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\TrustManager.cs (2)
601System.Runtime.InteropServices.ComTypes.IStream pStream = cms as System.Runtime.InteropServices.ComTypes.IStream;
WindowsBase (3)
Base\MS\Internal\Interop\NativeStructs.cs (1)
26using IStream = System.Runtime.InteropServices.ComTypes.IStream;
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (2)
614public static extern int CreateStreamOnHGlobal(IntPtr hGlobal, bool fDeleteOnRelease, ref System.Runtime.InteropServices.ComTypes.IStream istream); 4145System.Runtime.InteropServices.ComTypes.IStream pstm);