24 writes to WicSourceHandle
PresentationCore (24)
System\Windows\Media\Imaging\BitmapFrameDecode.cs (5)
86WicSourceHandle = frameDecode.WicSourceHandle; 144WicSourceHandle = source.WicSourceHandle; 454WicSourceHandle = null; 472WicSourceHandle = _frameSource; 477WicSourceHandle = CreateCachedBitmap(this, _frameSource, _createOptions, _cacheOption, Palette);
System\Windows\Media\Imaging\BitmapFrameEncode.cs (1)
51WicSourceHandle = _source.WicSourceHandle;
System\Windows\Media\Imaging\BitmapImage.cs (2)
326WicSourceHandle = bitmapImage.WicSourceHandle; 633WicSourceHandle = source.WicSourceHandle;
System\Windows\Media\Imaging\BitmapSource.cs (2)
1000WicSourceHandle = Create(1, 1, 96, 96, PixelFormats.Pbgra32, null, pixels, 4).WicSourceHandle; 1460WicSourceHandle = sourceBitmap.WicSourceHandle; // always do this near the top
System\Windows\Media\Imaging\CachedBitmap.cs (4)
103WicSourceHandle = bitmap; 266WicSourceHandle = CreateCachedBitmap(_source as BitmapFrame, _source.WicSourceHandle, _createOptions, _cacheOption, _source.Palette); 388WicSourceHandle = bitmapSource; 457WicSourceHandle = wicBitmap;
System\Windows\Media\Imaging\ColorConvertedBitmap.cs (1)
131WicSourceHandle = wicConverter;
System\Windows\Media\Imaging\CroppedBitmap.cs (1)
135WicSourceHandle = wicClipper;
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
148WicSourceHandle = wicFormatter;
System\Windows\Media\Imaging\InteropBitmapSource.cs (2)
255WicSourceHandle = bitmapSource; 433WicSourceHandle = transformedSource;
System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
135WicSourceHandle = newBitmapHandle; 280WicSourceHandle = bitmapSource;
System\Windows\Media\Imaging\TransformedBitmap.cs (1)
263WicSourceHandle = wicTransformer;
System\Windows\Media\Imaging\UnmanagedBitmapWrapper.cs (1)
44WicSourceHandle = bitmapSource;
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
997_syncObject = WicSourceHandle = _pBackBuffer;
34 references to WicSourceHandle
PresentationCore (34)
System\Windows\InterOp\D3DImage.cs (2)
816UnsafeNativeMethods.MILUnknown.AddRef(_softwareCopy.WicSourceHandle); 818data.pSoftwareBitmap = (ulong)_softwareCopy.WicSourceHandle.DangerousGetHandle().ToPointer();
System\Windows\Media\Imaging\BitmapEncoder.cs (3)
381SafeMILHandle thumbnailBitmapSource = _thumbnail.WicSourceHandle; 638SafeMILHandle thumbnailHandle = thumbnail.WicSourceHandle; 709SafeMILHandle bitmapSourceHandle = frame.WicSourceHandle;
System\Windows\Media\Imaging\BitmapFrameDecode.cs (2)
86WicSourceHandle = frameDecode.WicSourceHandle; 144WicSourceHandle = source.WicSourceHandle;
System\Windows\Media\Imaging\BitmapFrameEncode.cs (1)
51WicSourceHandle = _source.WicSourceHandle;
System\Windows\Media\Imaging\BitmapImage.cs (2)
326WicSourceHandle = bitmapImage.WicSourceHandle; 633WicSourceHandle = source.WicSourceHandle;
System\Windows\Media\Imaging\BitmapPalette.cs (2)
86SafeMILHandle unmanagedBitmap = bitmapSource.WicSourceHandle; 167SafeMILHandle bitmapSource = source.WicSourceHandle;
System\Windows\Media\Imaging\BitmapSource.cs (8)
751WicSourceHandle, 791BitmapSourceSafeMILHandle /* IWICBitmapSource */ pIWICSource = WicSourceHandle; 847pIWICSource = WicSourceHandle; 903pIWICSource = WicSourceHandle; 1000WicSourceHandle = Create(1, 1, 96, 96, PixelFormats.Pbgra32, null, pixels, 4).WicSourceHandle; 1163wicSource = colorConvertedBitmap.WicSourceHandle; 1194wicSource = colorConvertedBitmap.WicSourceHandle; 1460WicSourceHandle = sourceBitmap.WicSourceHandle; // always do this near the top
System\Windows\Media\Imaging\CachedBitmap.cs (4)
104_syncObject = WicSourceHandle; 230InitFromWICSource(sourceBitmap.WicSourceHandle); 266WicSourceHandle = CreateCachedBitmap(_source as BitmapFrame, _source.WicSourceHandle, _createOptions, _cacheOption, _source.Palette); 468_syncObject = WicSourceHandle;
System\Windows\Media\Imaging\ColorConvertedBitmap.cs (1)
120Source.WicSourceHandle,
System\Windows\Media\Imaging\CroppedBitmap.cs (1)
126source.WicSourceHandle,
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
134Source.WicSourceHandle,
System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
174InitFromWICSource(sourceBitmapSource.WicSourceHandle);
System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
128WicSourceHandle,
System\Windows\Media\Imaging\TransformedBitmap.cs (3)
191wicTransformer = _source.WicSourceHandle; 206_source.WicSourceHandle, 258_source.WicSourceHandle,
System\Windows\Media\Imaging\WriteableBitmap.cs (2)
275WicSourceHandle, 628WicSourceHandle.CopyMemoryPressure(_pDoubleBufferedBitmap);