42 references to MILUnknown
PresentationCore (42)
System\Windows\InterOp\D3DImage.cs (2)
780UnsafeNativeMethods.MILUnknown.AddRef(_pInteropDeviceBitmap); 797UnsafeNativeMethods.MILUnknown.AddRef(_softwareCopy.WicSourceHandle);
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)
1175UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream); 1538UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
453UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapMetadata.cs (12)
172UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 216return UnsafeNativeMethods.MILUnknown.QueryInterface( 310UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 340return UnsafeNativeMethods.MILUnknown.QueryInterface( 366UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 399UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 520int hr = UnsafeNativeMethods.MILUnknown.QueryInterface( 707UnsafeNativeMethods.MILUnknown.Release(blockWriter); 712UnsafeNativeMethods.MILUnknown.Release(queryWriter); 756UnsafeNativeMethods.MILUnknown.Release(blockWriter); 761UnsafeNativeMethods.MILUnknown.Release(queryWriter); 813UnsafeNativeMethods.MILUnknown.Release(queryWriter);
System\Windows\Media\Imaging\BitmapSource.cs (2)
585HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 877UnsafeNativeMethods.MILUnknown.AddRef(pCWICWrapperBitmap);
System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
79int hr = UnsafeNativeMethods.MILUnknown.QueryInterface(
System\Windows\Media\Imaging\BitmapVisualManager.cs (2)
114HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 144UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIRenderTargetBitmap);
System\Windows\Media\Imaging\PropVariant.cs (6)
411HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 448UnsafeNativeMethods.MILUnknown.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr))); 478UnsafeNativeMethods.MILUnknown.Release(punkVal); 697int hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryWriter, out queryHandle); 711hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryReader, out queryHandle); 731UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref queryHandle);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1230UnsafeNativeMethods.MILUnknown.AddRef(_pDoubleBufferedBitmap);
System\Windows\Media\MediaPlayerState.cs (1)
1015UnsafeNativeMethods.MILUnknown.AddRef(_nativeMedia);
System\Windows\Media\PixelFormat.cs (4)
380UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo); 411HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 420UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref componentInfo); 450UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo);
System\Windows\Media\safemediahandle.cs (1)
32UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\SafeMILHandle.cs (1)
64UnsafeNativeMethods.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);
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
520UnsafeNativeMethods.MILUnknown.Release(ptr);