42 references to MILUnknown
PresentationCore (42)
System\Windows\InterOp\D3DImage.cs (2)
779UnsafeNativeMethods.MILUnknown.AddRef(_pInteropDeviceBitmap); 796UnsafeNativeMethods.MILUnknown.AddRef(_softwareCopy.WicSourceHandle);
System\Windows\Media\FactoryMaker.cs (2)
71UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref s_pFactory); 75UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref s_pImagingFactory);
System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1174UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream); 1537UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
452UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapMetadata.cs (12)
171UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 215return UnsafeNativeMethods.MILUnknown.QueryInterface( 309UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 339return UnsafeNativeMethods.MILUnknown.QueryInterface( 365UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 398UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 519int hr = UnsafeNativeMethods.MILUnknown.QueryInterface( 706UnsafeNativeMethods.MILUnknown.Release(blockWriter); 711UnsafeNativeMethods.MILUnknown.Release(queryWriter); 755UnsafeNativeMethods.MILUnknown.Release(blockWriter); 760UnsafeNativeMethods.MILUnknown.Release(queryWriter); 812UnsafeNativeMethods.MILUnknown.Release(queryWriter);
System\Windows\Media\Imaging\BitmapSource.cs (2)
584HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 876UnsafeNativeMethods.MILUnknown.AddRef(pCWICWrapperBitmap);
System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
78int hr = UnsafeNativeMethods.MILUnknown.QueryInterface(
System\Windows\Media\Imaging\BitmapVisualManager.cs (2)
113HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 143UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIRenderTargetBitmap);
System\Windows\Media\Imaging\PropVariant.cs (6)
410HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 447UnsafeNativeMethods.MILUnknown.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr))); 477UnsafeNativeMethods.MILUnknown.Release(punkVal); 696int hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryWriter, out queryHandle); 710hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryReader, out queryHandle); 730UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref queryHandle);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1223UnsafeNativeMethods.MILUnknown.AddRef(_pDoubleBufferedBitmap);
System\Windows\Media\MediaPlayerState.cs (1)
1014UnsafeNativeMethods.MILUnknown.AddRef(_nativeMedia);
System\Windows\Media\PixelFormat.cs (4)
379UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo); 410HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 419UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref componentInfo); 449UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo);
System\Windows\Media\safemediahandle.cs (1)
31UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\SafeMILHandle.cs (1)
63UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\SafeReversePInvokeHandle.cs (1)
47UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref handle);
System\Windows\Media\StreamAsIStream.cs (2)
596UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream); 618UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream);
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
519UnsafeNativeMethods.MILUnknown.Release(ptr);