42 references to MILUnknown
PresentationCore (42)
System\Windows\InterOp\D3DImage.cs (2)
781UnsafeNativeMethods.MILUnknown.AddRef(_pInteropDeviceBitmap); 798UnsafeNativeMethods.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)
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\BitmapMetadata.cs (12)
172UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 216return UnsafeNativeMethods.MILUnknown.QueryInterface( 313UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 343return UnsafeNativeMethods.MILUnknown.QueryInterface( 369UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 402UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 523int hr = UnsafeNativeMethods.MILUnknown.QueryInterface( 710UnsafeNativeMethods.MILUnknown.Release(blockWriter); 715UnsafeNativeMethods.MILUnknown.Release(queryWriter); 759UnsafeNativeMethods.MILUnknown.Release(blockWriter); 764UnsafeNativeMethods.MILUnknown.Release(queryWriter); 816UnsafeNativeMethods.MILUnknown.Release(queryWriter);
System\Windows\Media\Imaging\BitmapSource.cs (2)
584HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 907UnsafeNativeMethods.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)
417HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 454UnsafeNativeMethods.MILUnknown.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr))); 484UnsafeNativeMethods.MILUnknown.Release(punkVal); 703int hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryWriter, out queryHandle); 717hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryReader, out queryHandle); 737UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref queryHandle);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1241UnsafeNativeMethods.MILUnknown.AddRef(_pDoubleBufferedBitmap);
System\Windows\Media\MediaPlayerState.cs (1)
1015UnsafeNativeMethods.MILUnknown.AddRef(_nativeMedia);
System\Windows\Media\PixelFormat.cs (4)
543UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo); 574HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 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);
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
520UnsafeNativeMethods.MILUnknown.Release(ptr);