1 instantiation of StreamAsIStream
PresentationCore (1)
System\Windows\Media\StreamAsIStream.cs (1)
635StreamAsIStream sais = new StreamAsIStream(stream);
35 references to StreamAsIStream
PresentationCore (35)
System\Windows\Media\Imaging\BitmapDecoder.cs (3)
1519comStream = StreamAsIStream.IStreamFrom(bufferPtr, length); 1524comStream = StreamAsIStream.IStreamFrom(bitmapStream); 1536IntPtr memoryStream = StreamAsIStream.IStreamMemoryFrom(comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
347comStream = StreamAsIStream.IStreamFrom(stream);
System\Windows\Media\StreamAsIStream.cs (31)
55StreamAsIStream sais = (StreamAsIStream)(pSD.m_handle.Target); 73StaticPtrs.pfnClone = new StreamDescriptor.Clone(StreamAsIStream.Clone); 74StaticPtrs.pfnCommit = new StreamDescriptor.Commit(StreamAsIStream.Commit); 75StaticPtrs.pfnCopyTo = new StreamDescriptor.CopyTo(StreamAsIStream.CopyTo); 76StaticPtrs.pfnLockRegion = new StreamDescriptor.LockRegion(StreamAsIStream.LockRegion); 77StaticPtrs.pfnRead = new StreamDescriptor.Read(StreamAsIStream.Read); 78StaticPtrs.pfnRevert = new StreamDescriptor.Revert(StreamAsIStream.Revert); 81StaticPtrs.pfnSeek = new StreamDescriptor.Seek(StreamAsIStream.Seek); 83StaticPtrs.pfnSetSize = new StreamDescriptor.SetSize(StreamAsIStream.SetSize); 84StaticPtrs.pfnStat = new StreamDescriptor.Stat(StreamAsIStream.Stat); 85StaticPtrs.pfnUnlockRegion = new StreamDescriptor.UnlockRegion(StreamAsIStream.UnlockRegion); 86StaticPtrs.pfnWrite = new StreamDescriptor.Write(StreamAsIStream.Write); 87StaticPtrs.pfnCanWrite = new StreamDescriptor.CanWrite(StreamAsIStream.CanWrite); 88StaticPtrs.pfnCanSeek = new StreamDescriptor.CanSeek(StreamAsIStream.CanSeek); 508internal static StreamAsIStream FromSD(ref StreamDescriptor sd) 512return (StreamAsIStream)(handle.Target); 517return (StreamAsIStream.FromSD(ref pSD)).Clone(out stream); 522return (StreamAsIStream.FromSD(ref pSD)).Commit(grfCommitFlags); 527return (StreamAsIStream.FromSD(ref pSD)).CopyTo(pstm, cb, out cbRead, out cbWritten); 532return (StreamAsIStream.FromSD(ref pSD)).LockRegion(libOffset, cb, dwLockType); 538return (StreamAsIStream.FromSD(ref pSD)).Read(span, out cbRead); 543return (StreamAsIStream.FromSD(ref pSD)).Revert(); 548return (StreamAsIStream.FromSD(ref pSD)).Seek(offset, origin, plibNewPostion); 553return (StreamAsIStream.FromSD(ref pSD)).SetSize(value); 558return (StreamAsIStream.FromSD(ref pSD)).Stat(out statstg, grfStatFlag); 563return (StreamAsIStream.FromSD(ref pSD)).UnlockRegion(libOffset, cb, dwLockType); 568return (StreamAsIStream.FromSD(ref pSD)).Write(buffer, cb, out cbWritten); 573return (StreamAsIStream.FromSD(ref pSD)).CanWrite(out canWrite); 578return (StreamAsIStream.FromSD(ref pSD)).CanSeek(out canSeek); 635StreamAsIStream sais = new StreamAsIStream(stream);