15 references to ReleaseInterface
PresentationCore (15)
System\Windows\Media\FactoryMaker.cs (2)
72UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref s_pFactory); 76UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref s_pImagingFactory);
System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1178UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream); 1541UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
453UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
144UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIRenderTargetBitmap);
System\Windows\Media\Imaging\PropVariant.cs (1)
737UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref queryHandle);
System\Windows\Media\PixelFormat.cs (3)
543UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo); 583UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref componentInfo); 613UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo);
System\Windows\Media\safemediahandle.cs (1)
32UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\SafeMILHandle.cs (1)
70UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\SafeReversePInvokeHandle.cs (1)
48UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\StreamAsIStream.cs (2)
597UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream); 619UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream);