1 instantiation of StreamAsIStream
PresentationCore (1)
System\Windows\Media\StreamAsIStream.cs (1)
635
StreamAsIStream sais = new
StreamAsIStream
(stream);
35 references to StreamAsIStream
PresentationCore (35)
System\Windows\Media\Imaging\BitmapDecoder.cs (3)
1519
comStream =
StreamAsIStream
.IStreamFrom(bufferPtr, length);
1524
comStream =
StreamAsIStream
.IStreamFrom(bitmapStream);
1536
IntPtr memoryStream =
StreamAsIStream
.IStreamMemoryFrom(comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
347
comStream =
StreamAsIStream
.IStreamFrom(stream);
System\Windows\Media\StreamAsIStream.cs (31)
55
StreamAsIStream
sais = (
StreamAsIStream
)(pSD.m_handle.Target);
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);
508
internal static
StreamAsIStream
FromSD(ref StreamDescriptor sd)
512
return (
StreamAsIStream
)(handle.Target);
517
return (
StreamAsIStream
.FromSD(ref pSD)).Clone(out stream);
522
return (
StreamAsIStream
.FromSD(ref pSD)).Commit(grfCommitFlags);
527
return (
StreamAsIStream
.FromSD(ref pSD)).CopyTo(pstm, cb, out cbRead, out cbWritten);
532
return (
StreamAsIStream
.FromSD(ref pSD)).LockRegion(libOffset, cb, dwLockType);
538
return (
StreamAsIStream
.FromSD(ref pSD)).Read(span, out cbRead);
543
return (
StreamAsIStream
.FromSD(ref pSD)).Revert();
548
return (
StreamAsIStream
.FromSD(ref pSD)).Seek(offset, origin, plibNewPostion);
553
return (
StreamAsIStream
.FromSD(ref pSD)).SetSize(value);
558
return (
StreamAsIStream
.FromSD(ref pSD)).Stat(out statstg, grfStatFlag);
563
return (
StreamAsIStream
.FromSD(ref pSD)).UnlockRegion(libOffset, cb, dwLockType);
568
return (
StreamAsIStream
.FromSD(ref pSD)).Write(buffer, cb, out cbWritten);
573
return (
StreamAsIStream
.FromSD(ref pSD)).CanWrite(out canWrite);
578
return (
StreamAsIStream
.FromSD(ref pSD)).CanSeek(out canSeek);
635
StreamAsIStream
sais = new StreamAsIStream(stream);