1 instantiation of StreamDescriptor
PresentationCore (1)
System\Windows\Media\StreamAsIStream.cs (1)
635
StreamDescriptor sd = new
StreamDescriptor
60 references to StreamDescriptor
PresentationCore (60)
System\Windows\Media\StreamAsIStream.cs (59)
16
internal delegate void Dispose(ref
StreamDescriptor
pSD);
17
internal delegate int Read(ref
StreamDescriptor
pSD, IntPtr buffer, uint cb, out uint cbRead);
19
internal unsafe delegate int Seek(ref
StreamDescriptor
pSD, long offset, uint origin, long* plibNewPostion);
20
internal delegate int Stat(ref
StreamDescriptor
pSD, out System.Runtime.InteropServices.ComTypes.STATSTG statstg, uint grfStatFlag);
21
internal delegate int Write(ref
StreamDescriptor
pSD, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)]byte[] buffer, uint cb, out uint cbWritten);
23
internal delegate int CopyTo(ref
StreamDescriptor
pSD, IntPtr pstm, long cb, out long cbRead, out long cbWritten);
24
internal delegate int SetSize(ref
StreamDescriptor
pSD, long value);
25
internal delegate int Revert(ref
StreamDescriptor
pSD);
26
internal delegate int Commit(ref
StreamDescriptor
pSD, UInt32 grfCommitFlags);
27
internal delegate int LockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType);
28
internal delegate int UnlockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType);
29
internal delegate int Clone(ref
StreamDescriptor
pSD, out IntPtr stream);
30
internal delegate int CanWrite(ref
StreamDescriptor
pSD, out bool canWrite);
31
internal delegate int CanSeek(ref
StreamDescriptor
pSD, out bool canSeek);
51
internal static void StaticDispose(ref
StreamDescriptor
pSD)
70
StaticPtrs.pfnDispose = new
StreamDescriptor
.Dispose(
StreamDescriptor
.StaticDispose);
72
StaticPtrs.pfnClone = new
StreamDescriptor
.Clone(StreamAsIStream.Clone);
73
StaticPtrs.pfnCommit = new
StreamDescriptor
.Commit(StreamAsIStream.Commit);
74
StaticPtrs.pfnCopyTo = new
StreamDescriptor
.CopyTo(StreamAsIStream.CopyTo);
75
StaticPtrs.pfnLockRegion = new
StreamDescriptor
.LockRegion(StreamAsIStream.LockRegion);
76
StaticPtrs.pfnRead = new
StreamDescriptor
.Read(StreamAsIStream.Read);
77
StaticPtrs.pfnRevert = new
StreamDescriptor
.Revert(StreamAsIStream.Revert);
80
StaticPtrs.pfnSeek = new
StreamDescriptor
.Seek(StreamAsIStream.Seek);
82
StaticPtrs.pfnSetSize = new
StreamDescriptor
.SetSize(StreamAsIStream.SetSize);
83
StaticPtrs.pfnStat = new
StreamDescriptor
.Stat(StreamAsIStream.Stat);
84
StaticPtrs.pfnUnlockRegion = new
StreamDescriptor
.UnlockRegion(StreamAsIStream.UnlockRegion);
85
StaticPtrs.pfnWrite = new
StreamDescriptor
.Write(StreamAsIStream.Write);
86
StaticPtrs.pfnCanWrite = new
StreamDescriptor
.CanWrite(StreamAsIStream.CanWrite);
87
StaticPtrs.pfnCanSeek = new
StreamDescriptor
.CanSeek(StreamAsIStream.CanSeek);
90
internal static
StreamDescriptor
.Dispose pfnDispose;
91
internal static
StreamDescriptor
.Read pfnRead;
93
internal static
StreamDescriptor
.Seek pfnSeek;
95
internal static
StreamDescriptor
.Stat pfnStat;
96
internal static
StreamDescriptor
.Write pfnWrite;
98
internal static
StreamDescriptor
.CopyTo pfnCopyTo;
100
internal static
StreamDescriptor
.SetSize pfnSetSize;
101
internal static
StreamDescriptor
.Commit pfnCommit;
102
internal static
StreamDescriptor
.Revert pfnRevert;
103
internal static
StreamDescriptor
.LockRegion pfnLockRegion;
104
internal static
StreamDescriptor
.UnlockRegion pfnUnlockRegion;
105
internal static
StreamDescriptor
.Clone pfnClone;
106
internal static
StreamDescriptor
.CanWrite pfnCanWrite;
107
internal static
StreamDescriptor
.CanSeek pfnCanSeek;
507
internal static StreamAsIStream FromSD(ref
StreamDescriptor
sd)
514
internal static int Clone(ref
StreamDescriptor
pSD, out IntPtr stream)
519
internal static int Commit(ref
StreamDescriptor
pSD, UInt32 grfCommitFlags)
524
internal static int CopyTo(ref
StreamDescriptor
pSD, IntPtr pstm, long cb, out long cbRead, out long cbWritten)
529
internal static int LockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType)
534
internal static unsafe int Read(ref
StreamDescriptor
pSD, IntPtr buffer, uint cb, out uint cbRead)
540
internal static int Revert(ref
StreamDescriptor
pSD)
545
internal static unsafe int Seek(ref
StreamDescriptor
pSD, long offset, uint origin, long* plibNewPostion)
550
internal static int SetSize(ref
StreamDescriptor
pSD, long value)
555
internal static int Stat(ref
StreamDescriptor
pSD, out System.Runtime.InteropServices.ComTypes.STATSTG statstg, uint grfStatFlag)
560
internal static int UnlockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType)
565
internal static int Write(ref
StreamDescriptor
pSD, byte[] buffer, uint cb, out uint cbWritten)
570
internal static int CanWrite(ref
StreamDescriptor
pSD, out bool canWrite)
575
internal static int CanSeek(ref
StreamDescriptor
pSD, out bool canSeek)
635
StreamDescriptor
sd = new StreamDescriptor
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
54
internal static extern int /* HRESULT */ MILCreateStreamFromStreamDescriptor(ref System.Windows.Media.
StreamDescriptor
pSD, out IntPtr ppStream);