1 instantiation of StreamDescriptor
PresentationCore (1)
System\Windows\Media\StreamAsIStream.cs (1)
636
StreamDescriptor sd = new
StreamDescriptor
60 references to StreamDescriptor
PresentationCore (60)
System\Windows\Media\StreamAsIStream.cs (59)
17
internal delegate void Dispose(ref
StreamDescriptor
pSD);
18
internal delegate int Read(ref
StreamDescriptor
pSD, IntPtr buffer, uint cb, out uint cbRead);
20
internal unsafe delegate int Seek(ref
StreamDescriptor
pSD, long offset, uint origin, long* plibNewPostion);
21
internal delegate int Stat(ref
StreamDescriptor
pSD, out System.Runtime.InteropServices.ComTypes.STATSTG statstg, uint grfStatFlag);
22
internal delegate int Write(ref
StreamDescriptor
pSD, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)]byte[] buffer, uint cb, out uint cbWritten);
24
internal delegate int CopyTo(ref
StreamDescriptor
pSD, IntPtr pstm, long cb, out long cbRead, out long cbWritten);
25
internal delegate int SetSize(ref
StreamDescriptor
pSD, long value);
26
internal delegate int Revert(ref
StreamDescriptor
pSD);
27
internal delegate int Commit(ref
StreamDescriptor
pSD, UInt32 grfCommitFlags);
28
internal delegate int LockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType);
29
internal delegate int UnlockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType);
30
internal delegate int Clone(ref
StreamDescriptor
pSD, out IntPtr stream);
31
internal delegate int CanWrite(ref
StreamDescriptor
pSD, out bool canWrite);
32
internal delegate int CanSeek(ref
StreamDescriptor
pSD, out bool canSeek);
52
internal static void StaticDispose(ref
StreamDescriptor
pSD)
71
StaticPtrs.pfnDispose = new
StreamDescriptor
.Dispose(
StreamDescriptor
.StaticDispose);
73
StaticPtrs.pfnClone = new
StreamDescriptor
.Clone(StreamAsIStream.Clone);
74
StaticPtrs.pfnCommit = new
StreamDescriptor
.Commit(StreamAsIStream.Commit);
75
StaticPtrs.pfnCopyTo = new
StreamDescriptor
.CopyTo(StreamAsIStream.CopyTo);
76
StaticPtrs.pfnLockRegion = new
StreamDescriptor
.LockRegion(StreamAsIStream.LockRegion);
77
StaticPtrs.pfnRead = new
StreamDescriptor
.Read(StreamAsIStream.Read);
78
StaticPtrs.pfnRevert = new
StreamDescriptor
.Revert(StreamAsIStream.Revert);
81
StaticPtrs.pfnSeek = new
StreamDescriptor
.Seek(StreamAsIStream.Seek);
83
StaticPtrs.pfnSetSize = new
StreamDescriptor
.SetSize(StreamAsIStream.SetSize);
84
StaticPtrs.pfnStat = new
StreamDescriptor
.Stat(StreamAsIStream.Stat);
85
StaticPtrs.pfnUnlockRegion = new
StreamDescriptor
.UnlockRegion(StreamAsIStream.UnlockRegion);
86
StaticPtrs.pfnWrite = new
StreamDescriptor
.Write(StreamAsIStream.Write);
87
StaticPtrs.pfnCanWrite = new
StreamDescriptor
.CanWrite(StreamAsIStream.CanWrite);
88
StaticPtrs.pfnCanSeek = new
StreamDescriptor
.CanSeek(StreamAsIStream.CanSeek);
91
internal static
StreamDescriptor
.Dispose pfnDispose;
92
internal static
StreamDescriptor
.Read pfnRead;
94
internal static
StreamDescriptor
.Seek pfnSeek;
96
internal static
StreamDescriptor
.Stat pfnStat;
97
internal static
StreamDescriptor
.Write pfnWrite;
99
internal static
StreamDescriptor
.CopyTo pfnCopyTo;
101
internal static
StreamDescriptor
.SetSize pfnSetSize;
102
internal static
StreamDescriptor
.Commit pfnCommit;
103
internal static
StreamDescriptor
.Revert pfnRevert;
104
internal static
StreamDescriptor
.LockRegion pfnLockRegion;
105
internal static
StreamDescriptor
.UnlockRegion pfnUnlockRegion;
106
internal static
StreamDescriptor
.Clone pfnClone;
107
internal static
StreamDescriptor
.CanWrite pfnCanWrite;
108
internal static
StreamDescriptor
.CanSeek pfnCanSeek;
508
internal static StreamAsIStream FromSD(ref
StreamDescriptor
sd)
515
internal static int Clone(ref
StreamDescriptor
pSD, out IntPtr stream)
520
internal static int Commit(ref
StreamDescriptor
pSD, UInt32 grfCommitFlags)
525
internal static int CopyTo(ref
StreamDescriptor
pSD, IntPtr pstm, long cb, out long cbRead, out long cbWritten)
530
internal static int LockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType)
535
internal static unsafe int Read(ref
StreamDescriptor
pSD, IntPtr buffer, uint cb, out uint cbRead)
541
internal static int Revert(ref
StreamDescriptor
pSD)
546
internal unsafe static int Seek(ref
StreamDescriptor
pSD, long offset, uint origin, long* plibNewPostion)
551
internal static int SetSize(ref
StreamDescriptor
pSD, long value)
556
internal static int Stat(ref
StreamDescriptor
pSD, out System.Runtime.InteropServices.ComTypes.STATSTG statstg, uint grfStatFlag)
561
internal static int UnlockRegion(ref
StreamDescriptor
pSD, long libOffset, long cb, uint dwLockType)
566
internal static int Write(ref
StreamDescriptor
pSD, byte[] buffer, uint cb, out uint cbWritten)
571
internal static int CanWrite(ref
StreamDescriptor
pSD, out bool canWrite)
576
internal static int CanSeek(ref
StreamDescriptor
pSD, out bool canSeek)
636
StreamDescriptor
sd = new StreamDescriptor
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
55
internal extern static int /* HRESULT */ MILCreateStreamFromStreamDescriptor(ref System.Windows.Media.
StreamDescriptor
pSD, out IntPtr ppStream);