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