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)
1185UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream); 1548UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
455UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapMetadata.cs (12)
178UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 222return UnsafeNativeMethods.MILUnknown.QueryInterface( 319UnsafeNativeMethods.MILUnknown.Release(pIMetadataWriter); 349return UnsafeNativeMethods.MILUnknown.QueryInterface( 375UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 408UnsafeNativeMethods.MILUnknown.AddRef(metadataWriter); 529int hr = UnsafeNativeMethods.MILUnknown.QueryInterface( 716UnsafeNativeMethods.MILUnknown.Release(blockWriter); 721UnsafeNativeMethods.MILUnknown.Release(queryWriter); 765UnsafeNativeMethods.MILUnknown.Release(blockWriter); 770UnsafeNativeMethods.MILUnknown.Release(queryWriter); 822UnsafeNativeMethods.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)
423HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 460UnsafeNativeMethods.MILUnknown.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr))); 490UnsafeNativeMethods.MILUnknown.Release(punkVal); 709int hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryWriter, out queryHandle); 723hr = UnsafeNativeMethods.MILUnknown.QueryInterface(punkVal, ref guidIWICQueryReader, out queryHandle); 743UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref queryHandle);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1241UnsafeNativeMethods.MILUnknown.AddRef(_pDoubleBufferedBitmap);
System\Windows\Media\MediaPlayerState.cs (1)
1021UnsafeNativeMethods.MILUnknown.AddRef(_nativeMedia);
System\Windows\Media\PixelFormat.cs (4)
545UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pixelFormatInfo); 576HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 585UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref componentInfo); 615UnsafeNativeMethods.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)
651UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream); 673UnsafeNativeMethods.MILUnknown.ReleaseInterface(ref pIStream);
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
522UnsafeNativeMethods.MILUnknown.Release(ptr);