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