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