24 writes to WicSourceHandle
PresentationCore (24)
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (5)
94
WicSourceHandle
= frameDecode.WicSourceHandle;
157
WicSourceHandle
= source.WicSourceHandle;
494
WicSourceHandle
= null;
517
WicSourceHandle
= _frameSource;
522
WicSourceHandle
= CreateCachedBitmap(this, _frameSource, _createOptions, _cacheOption, Palette);
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameEncode.cs (1)
59
WicSourceHandle
= _source.WicSourceHandle;
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (2)
338
WicSourceHandle
= bitmapImage.WicSourceHandle;
645
WicSourceHandle
= source.WicSourceHandle;
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
1097
WicSourceHandle
= Create(1, 1, 96, 96, PixelFormats.Pbgra32, null, pixels, 4).WicSourceHandle;
1567
WicSourceHandle
= sourceBitmap.WicSourceHandle; // always do this near the top
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (4)
120
WicSourceHandle
= bitmap;
303
WicSourceHandle
= CreateCachedBitmap(_source as BitmapFrame, _source.WicSourceHandle, _createOptions, _cacheOption, _source.Palette);
454
WicSourceHandle
= bitmapSource;
527
WicSourceHandle
= wicBitmap;
Core\CSharp\System\Windows\Media\Imaging\ColorConvertedBitmap.cs (1)
152
WicSourceHandle
= wicConverter;
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (1)
150
WicSourceHandle
= wicClipper;
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
163
WicSourceHandle
= wicFormatter;
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (2)
320
WicSourceHandle
= bitmapSource;
513
WicSourceHandle
= transformedSource;
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (2)
155
WicSourceHandle
= newBitmapHandle;
318
WicSourceHandle
= bitmapSource;
Core\CSharp\System\Windows\Media\Imaging\TransformedBitmap.cs (1)
278
WicSourceHandle
= wicTransformer;
Core\CSharp\System\Windows\Media\Imaging\UnmanagedBitmapWrapper.cs (1)
51
WicSourceHandle
= bitmapSource;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1169
_syncObject =
WicSourceHandle
= _pBackBuffer;
34 references to WicSourceHandle
PresentationCore (34)
Core\CSharp\System\Windows\Interop\D3DImage.cs (2)
891
UnsafeNativeMethods.MILUnknown.AddRef(_softwareCopy.
WicSourceHandle
);
893
data.pSoftwareBitmap = (ulong)_softwareCopy.
WicSourceHandle
.DangerousGetHandle().ToPointer();
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (3)
427
SafeMILHandle thumbnailBitmapSource = _thumbnail.
WicSourceHandle
;
697
SafeMILHandle thumbnailHandle = thumbnail.
WicSourceHandle
;
768
SafeMILHandle bitmapSourceHandle = frame.
WicSourceHandle
;
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (2)
94
WicSourceHandle = frameDecode.
WicSourceHandle
;
157
WicSourceHandle = source.
WicSourceHandle
;
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameEncode.cs (1)
59
WicSourceHandle = _source.
WicSourceHandle
;
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (2)
338
WicSourceHandle = bitmapImage.
WicSourceHandle
;
645
WicSourceHandle = source.
WicSourceHandle
;
Core\CSharp\System\Windows\Media\Imaging\BitmapPalette.cs (2)
100
SafeMILHandle unmanagedBitmap = bitmapSource.
WicSourceHandle
;
192
SafeMILHandle bitmapSource = source.
WicSourceHandle
;
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (8)
823
WicSourceHandle
,
878
BitmapSourceSafeMILHandle /* IWICBitmapSource */ pIWICSource =
WicSourceHandle
;
934
pIWICSource =
WicSourceHandle
;
990
pIWICSource =
WicSourceHandle
;
1097
WicSourceHandle = Create(1, 1, 96, 96, PixelFormats.Pbgra32, null, pixels, 4).
WicSourceHandle
;
1264
wicSource = colorConvertedBitmap.
WicSourceHandle
;
1295
wicSource = colorConvertedBitmap.
WicSourceHandle
;
1567
WicSourceHandle = sourceBitmap.
WicSourceHandle
; // always do this near the top
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (4)
121
_syncObject =
WicSourceHandle
;
258
InitFromWICSource(sourceBitmap.
WicSourceHandle
);
303
WicSourceHandle = CreateCachedBitmap(_source as BitmapFrame, _source.
WicSourceHandle
, _createOptions, _cacheOption, _source.Palette);
538
_syncObject =
WicSourceHandle
;
Core\CSharp\System\Windows\Media\Imaging\ColorConvertedBitmap.cs (1)
141
Source.
WicSourceHandle
,
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (1)
141
source.
WicSourceHandle
,
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
149
Source.
WicSourceHandle
,
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
215
InitFromWICSource(sourceBitmapSource.
WicSourceHandle
);
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
148
WicSourceHandle
,
Core\CSharp\System\Windows\Media\Imaging\TransformedBitmap.cs (3)
206
wicTransformer = _source.
WicSourceHandle
;
221
_source.
WicSourceHandle
,
273
_source.
WicSourceHandle
,
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
307
WicSourceHandle
,
707
WicSourceHandle
.CopyMemoryPressure(_pDoubleBufferedBitmap);