1 instantiation of StreamAsIStream
PresentationCore (1)
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (1)
773
StreamAsIStream sais = new
StreamAsIStream
(stream);
35 references to StreamAsIStream
PresentationCore (35)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (3)
1828
comStream =
StreamAsIStream
.IStreamFrom(bufferPtr, length);
1833
comStream =
StreamAsIStream
.IStreamFrom(bitmapStream);
1845
IntPtr memoryStream =
StreamAsIStream
.IStreamMemoryFrom(comStream);
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
411
comStream =
StreamAsIStream
.IStreamFrom(stream);
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (31)
92
StreamAsIStream
sais = (
StreamAsIStream
)(pSD.m_handle.Target);
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);
624
internal static
StreamAsIStream
FromSD(ref StreamDescriptor sd)
628
return (
StreamAsIStream
)(handle.Target);
633
return (
StreamAsIStream
.FromSD(ref pSD)).Clone(out stream);
638
return (
StreamAsIStream
.FromSD(ref pSD)).Commit(grfCommitFlags);
647
return (
StreamAsIStream
.FromSD(ref pSD)).CopyTo(pstm, cb, out cbRead, out cbWritten);
652
return (
StreamAsIStream
.FromSD(ref pSD)).LockRegion(libOffset, cb, dwLockType);
657
return (
StreamAsIStream
.FromSD(ref pSD)).Read(buffer, cb, out cbRead);
662
return (
StreamAsIStream
.FromSD(ref pSD)).Revert();
671
return (
StreamAsIStream
.FromSD(ref pSD)).Seek(offset, origin, plibNewPostion);
676
return (
StreamAsIStream
.FromSD(ref pSD)).SetSize(value);
681
return (
StreamAsIStream
.FromSD(ref pSD)).Stat(out statstg, grfStatFlag);
686
return (
StreamAsIStream
.FromSD(ref pSD)).UnlockRegion(libOffset, cb, dwLockType);
691
return (
StreamAsIStream
.FromSD(ref pSD)).Write(buffer, cb, out cbWritten);
696
return (
StreamAsIStream
.FromSD(ref pSD)).CanWrite(out canWrite);
701
return (
StreamAsIStream
.FromSD(ref pSD)).CanSeek(out canSeek);
773
StreamAsIStream
sais = new StreamAsIStream(stream);