42 references to MILUnknown
PresentationCore (42)
System\Windows\InterOp\D3DImage.cs (2)
781
UnsafeNativeMethods.
MILUnknown
.AddRef(_pInteropDeviceBitmap);
798
UnsafeNativeMethods.
MILUnknown
.AddRef(_softwareCopy.WicSourceHandle);
System\Windows\Media\FactoryMaker.cs (2)
72
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref s_pFactory);
76
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref s_pImagingFactory);
System\Windows\Media\Imaging\BitmapDecoder.cs (2)
1185
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
1548
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
455
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapMetadata.cs (12)
178
UnsafeNativeMethods.
MILUnknown
.Release(pIMetadataWriter);
222
return UnsafeNativeMethods.
MILUnknown
.QueryInterface(
319
UnsafeNativeMethods.
MILUnknown
.Release(pIMetadataWriter);
349
return UnsafeNativeMethods.
MILUnknown
.QueryInterface(
375
UnsafeNativeMethods.
MILUnknown
.AddRef(metadataWriter);
408
UnsafeNativeMethods.
MILUnknown
.AddRef(metadataWriter);
529
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(
716
UnsafeNativeMethods.
MILUnknown
.Release(blockWriter);
721
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
765
UnsafeNativeMethods.
MILUnknown
.Release(blockWriter);
770
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
822
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
System\Windows\Media\Imaging\BitmapSource.cs (2)
584
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
907
UnsafeNativeMethods.
MILUnknown
.AddRef(pCWICWrapperBitmap);
System\Windows\Media\Imaging\BitmapSourceSafeMILHandle.cs (1)
79
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(
System\Windows\Media\Imaging\BitmapVisualManager.cs (2)
114
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
144
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pIRenderTargetBitmap);
System\Windows\Media\Imaging\PropVariant.cs (6)
423
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
460
UnsafeNativeMethods.
MILUnknown
.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr)));
490
UnsafeNativeMethods.
MILUnknown
.Release(punkVal);
709
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(punkVal, ref guidIWICQueryWriter, out queryHandle);
723
hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(punkVal, ref guidIWICQueryReader, out queryHandle);
743
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref queryHandle);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1241
UnsafeNativeMethods.
MILUnknown
.AddRef(_pDoubleBufferedBitmap);
System\Windows\Media\MediaPlayerState.cs (1)
1021
UnsafeNativeMethods.
MILUnknown
.AddRef(_nativeMedia);
System\Windows\Media\PixelFormat.cs (4)
545
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pixelFormatInfo);
576
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
585
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref componentInfo);
615
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pixelFormatInfo);
System\Windows\Media\safemediahandle.cs (1)
32
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref handle);
System\Windows\Media\SafeMILHandle.cs (1)
70
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref handle);
System\Windows\Media\SafeReversePInvokeHandle.cs (1)
48
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref handle);
System\Windows\Media\StreamAsIStream.cs (2)
651
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pIStream);
673
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pIStream);
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
522
UnsafeNativeMethods.
MILUnknown
.Release(ptr);