1 instantiation of StreamDescriptor
PresentationCore (1)
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (1)
774
StreamDescriptor sd = new
StreamDescriptor
();
60 references to StreamDescriptor
PresentationCore (60)
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (59)
33
internal delegate void Dispose(ref
StreamDescriptor
pSD);
34
internal delegate int Read(ref
StreamDescriptor
pSD, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2), Out]byte[] buffer, uint cb, out uint cbRead);
40
internal unsafe delegate int Seek(ref
StreamDescriptor
pSD, long offset, uint origin, long* plibNewPostion);
41
internal delegate int Stat(ref
StreamDescriptor
pSD, out System.Runtime.InteropServices.ComTypes.STATSTG statstg, uint grfStatFlag);
42
internal delegate int Write(ref
StreamDescriptor
pSD, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)]byte[] buffer, uint cb, out uint cbWritten);
48
internal delegate int CopyTo(ref
StreamDescriptor
pSD, IntPtr pstm, long cb, out long cbRead, out long cbWritten);
49
internal delegate int SetSize(ref
StreamDescriptor
pSD, long value);
50
internal delegate int Revert(ref
StreamDescriptor
pSD);
51
internal delegate int Commit(ref
StreamDescriptor
pSD, UInt32 grfCommitFlags);
52
internal delegate int LockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType);
53
internal delegate int UnlockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType);
54
internal delegate int Clone(ref
StreamDescriptor
pSD, out IntPtr stream);
55
internal delegate int CanWrite(ref
StreamDescriptor
pSD, out bool canWrite);
56
internal delegate int CanSeek(ref
StreamDescriptor
pSD, out bool canSeek);
89
internal static void StaticDispose(ref
StreamDescriptor
pSD)
113
StaticPtrs.pfnDispose = new
StreamDescriptor
.Dispose(
StreamDescriptor
.StaticDispose);
115
StaticPtrs.pfnClone = new
StreamDescriptor
.Clone(StreamAsIStream.Clone);
116
StaticPtrs.pfnCommit = new
StreamDescriptor
.Commit(StreamAsIStream.Commit);
117
StaticPtrs.pfnCopyTo = new
StreamDescriptor
.CopyTo(StreamAsIStream.CopyTo);
118
StaticPtrs.pfnLockRegion = new
StreamDescriptor
.LockRegion(StreamAsIStream.LockRegion);
119
StaticPtrs.pfnRead = new
StreamDescriptor
.Read(StreamAsIStream.Read);
120
StaticPtrs.pfnRevert = new
StreamDescriptor
.Revert(StreamAsIStream.Revert);
123
StaticPtrs.pfnSeek = new
StreamDescriptor
.Seek(StreamAsIStream.Seek);
125
StaticPtrs.pfnSetSize = new
StreamDescriptor
.SetSize(StreamAsIStream.SetSize);
126
StaticPtrs.pfnStat = new
StreamDescriptor
.Stat(StreamAsIStream.Stat);
127
StaticPtrs.pfnUnlockRegion = new
StreamDescriptor
.UnlockRegion(StreamAsIStream.UnlockRegion);
128
StaticPtrs.pfnWrite = new
StreamDescriptor
.Write(StreamAsIStream.Write);
129
StaticPtrs.pfnCanWrite = new
StreamDescriptor
.CanWrite(StreamAsIStream.CanWrite);
130
StaticPtrs.pfnCanSeek = new
StreamDescriptor
.CanSeek(StreamAsIStream.CanSeek);
133
internal static
StreamDescriptor
.Dispose pfnDispose;
134
internal static
StreamDescriptor
.Read pfnRead;
140
internal static
StreamDescriptor
.Seek pfnSeek;
142
internal static
StreamDescriptor
.Stat pfnStat;
143
internal static
StreamDescriptor
.Write pfnWrite;
149
internal static
StreamDescriptor
.CopyTo pfnCopyTo;
151
internal static
StreamDescriptor
.SetSize pfnSetSize;
152
internal static
StreamDescriptor
.Commit pfnCommit;
153
internal static
StreamDescriptor
.Revert pfnRevert;
154
internal static
StreamDescriptor
.LockRegion pfnLockRegion;
155
internal static
StreamDescriptor
.UnlockRegion pfnUnlockRegion;
156
internal static
StreamDescriptor
.Clone pfnClone;
157
internal static
StreamDescriptor
.CanWrite pfnCanWrite;
158
internal static
StreamDescriptor
.CanSeek pfnCanSeek;
624
internal static StreamAsIStream FromSD(ref
StreamDescriptor
sd)
631
internal static int Clone(ref
StreamDescriptor
pSD, out IntPtr stream)
636
internal static int Commit(ref
StreamDescriptor
pSD, UInt32 grfCommitFlags)
645
internal static int CopyTo(ref
StreamDescriptor
pSD, IntPtr pstm, long cb, out long cbRead, out long cbWritten)
650
internal static int LockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType)
655
internal static int Read(ref
StreamDescriptor
pSD, byte[] buffer, uint cb, out uint cbRead)
660
internal static int Revert(ref
StreamDescriptor
pSD)
669
internal unsafe static int Seek(ref
StreamDescriptor
pSD, long offset, uint origin, long* plibNewPostion)
674
internal static int SetSize(ref
StreamDescriptor
pSD, long value)
679
internal static int Stat(ref
StreamDescriptor
pSD, out System.Runtime.InteropServices.ComTypes.STATSTG statstg, uint grfStatFlag)
684
internal static int UnlockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType)
689
internal static int Write(ref
StreamDescriptor
pSD, byte[] buffer, uint cb, out uint cbWritten)
694
internal static int CanWrite(ref
StreamDescriptor
pSD, out bool canWrite)
699
internal static int CanSeek(ref
StreamDescriptor
pSD, out bool canSeek)
774
StreamDescriptor
sd = new StreamDescriptor();
Core\CSharp\System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
98
internal extern static int /* HRESULT */ MILCreateStreamFromStreamDescriptor(ref System.Windows.Media.
StreamDescriptor
pSD, out IntPtr ppStream);