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)
1185UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream); 1548UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
455UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
144UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIRenderTargetBitmap);
System\Windows\Media\Imaging\PropVariant.cs (1)
743UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref queryHandle);
System\Windows\Media\PixelFormat.cs (3)
545UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo); 585UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref componentInfo); 615UnsafeNativeMethods.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)
651UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream); 673UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream);