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