42 references to MILUnknown
PresentationCore (42)
System\Windows\InterOp\D3DImage.cs (2)
799UnsafeNativeMethods.MILUnknown.AddRef(_pInteropDeviceBitmap); 816UnsafeNativeMethods.MILUnknown.AddRef(_softwareCopy.WicSourceHandle);
System\Windows\Media\FactoryMaker.cs (2)
79UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref s_pFactory); 83UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref s_pImagingFactory);
System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1203UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream); 1566UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
471UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapMetadata.cs (12)
189UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 233return UnsafeNativeMethods.MILUnknown.QueryInterface( 330UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 360return UnsafeNativeMethods.MILUnknown.QueryInterface( 386UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 419UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 540int hr = UnsafeNativeMethods.MILUnknown.QueryInterface( 727UnsafeNativeMethods.MILUnknown.Release(blockWriter); 732UnsafeNativeMethods.MILUnknown.Release(queryWriter); 776UnsafeNativeMethods.MILUnknown.Release(blockWriter); 781UnsafeNativeMethods.MILUnknown.Release(queryWriter); 833UnsafeNativeMethods.MILUnknown.Release(queryWriter);
System\Windows\Media\Imaging\BitmapSource.cs (2)
600HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 924UnsafeNativeMethods.MILUnknown.AddRef(pCWICWrapperBitmap);
System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
83int hr = UnsafeNativeMethods.MILUnknown.QueryInterface(
System\Windows\Media\Imaging\BitmapVisualManager.cs (2)
127HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 157UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIRenderTargetBitmap);
System\Windows\Media\Imaging\PropVariant.cs (6)
438HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 475UnsafeNativeMethods.MILUnknown.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr))); 505UnsafeNativeMethods.MILUnknown.Release(punkVal); 724int hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryWriter, out queryHandle); 738hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryReader, out queryHandle); 758UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref queryHandle);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1255UnsafeNativeMethods.MILUnknown.AddRef(_pDoubleBufferedBitmap);
System\Windows\Media\MediaPlayerState.cs (1)
1042UnsafeNativeMethods.MILUnknown.AddRef(_nativeMedia);
System\Windows\Media\PixelFormat.cs (4)
558UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo); 589HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 598UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref componentInfo); 628UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo);
System\Windows\Media\safemediahandle.cs (1)
43UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\SafeMILHandle.cs (1)
72UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\SafeReversePInvokeHandle.cs (1)
58UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\StreamAsIStream.cs (2)
662UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream); 684UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream);
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
534UnsafeNativeMethods.MILUnknown.Release(ptr);