15 references to ReleaseInterface
PresentationCore (15)
System\Windows\Media\FactoryMaker.cs (2)
79UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref s_pFactory); 83UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref s_pImagingFactory);
System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1203UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream); 1566UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
471UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
157UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIRenderTargetBitmap);
System\Windows\Media\Imaging\PropVariant.cs (1)
758UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref queryHandle);
System\Windows\Media\PixelFormat.cs (3)
559UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo); 599UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref componentInfo); 629UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo);
System\Windows\Media\safemediahandle.cs (1)
43UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\SafeMILHandle.cs (1)
72UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\SafeReversePInvokeHandle.cs (1)
58UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\StreamAsIStream.cs (2)
662UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream); 684UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream);