42 references to MILUnknown
PresentationCore (42)
Core\CSharp\System\Windows\Interop\D3DImage.cs (2)
874
UnsafeNativeMethods.
MILUnknown
.AddRef(_pInteropDeviceBitmap);
891
UnsafeNativeMethods.
MILUnknown
.AddRef(_softwareCopy.WicSourceHandle);
Core\CSharp\System\Windows\Media\FactoryMaker.cs (2)
93
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref s_pFactory);
97
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref s_pImagingFactory);
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1338
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
1850
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (1)
517
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (12)
197
UnsafeNativeMethods.
MILUnknown
.Release(pIMetadataWriter);
245
return UnsafeNativeMethods.
MILUnknown
.QueryInterface(
350
UnsafeNativeMethods.
MILUnknown
.Release(pIMetadataWriter);
384
return UnsafeNativeMethods.
MILUnknown
.QueryInterface(
414
UnsafeNativeMethods.
MILUnknown
.AddRef(metadataWriter);
451
UnsafeNativeMethods.
MILUnknown
.AddRef(metadataWriter);
576
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(
807
UnsafeNativeMethods.
MILUnknown
.Release(blockWriter);
812
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
861
UnsafeNativeMethods.
MILUnknown
.Release(blockWriter);
866
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
922
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (2)
649
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
1009
UnsafeNativeMethods.
MILUnknown
.AddRef(pCWICWrapperBitmap);
Core\CSharp\System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
113
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(
Core\CSharp\System\Windows\Media\Imaging\BitmapVisualManager.cs (2)
140
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
170
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pIRenderTargetBitmap);
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (6)
464
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
506
UnsafeNativeMethods.
MILUnknown
.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr)));
536
UnsafeNativeMethods.
MILUnknown
.Release(punkVal);
760
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(punkVal, ref guidIWICQueryWriter, out queryHandle);
774
hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(punkVal, ref guidIWICQueryReader, out queryHandle);
794
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref queryHandle);
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1450
UnsafeNativeMethods.
MILUnknown
.AddRef(_pDoubleBufferedBitmap);
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (1)
1298
UnsafeNativeMethods.
MILUnknown
.AddRef(_nativeMedia);
Core\CSharp\System\Windows\Media\PixelFormat.cs (4)
587
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pixelFormatInfo);
622
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
631
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref componentInfo);
666
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pixelFormatInfo);
Core\CSharp\System\Windows\Media\SafeMediaHandle.cs (1)
55
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref handle);
Core\CSharp\System\Windows\Media\SafeMILHandle.cs (1)
92
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref handle);
Core\CSharp\System\Windows\Media\SafeReversePInvokeHandle.cs (1)
75
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref handle);
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (2)
724
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pIStream);
750
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pIStream);
Core\CSharp\System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
760
UnsafeNativeMethods.
MILUnknown
.Release(ptr);