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)
1178
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
1541
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapEncoder.cs (1)
453
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
System\Windows\Media\Imaging\BitmapMetadata.cs (12)
172
UnsafeNativeMethods.
MILUnknown
.Release(pIMetadataWriter);
216
return UnsafeNativeMethods.
MILUnknown
.QueryInterface(
313
UnsafeNativeMethods.
MILUnknown
.Release(pIMetadataWriter);
343
return UnsafeNativeMethods.
MILUnknown
.QueryInterface(
369
UnsafeNativeMethods.
MILUnknown
.AddRef(metadataWriter);
402
UnsafeNativeMethods.
MILUnknown
.AddRef(metadataWriter);
523
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(
710
UnsafeNativeMethods.
MILUnknown
.Release(blockWriter);
715
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
759
UnsafeNativeMethods.
MILUnknown
.Release(blockWriter);
764
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
816
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)
417
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
454
UnsafeNativeMethods.
MILUnknown
.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr)));
484
UnsafeNativeMethods.
MILUnknown
.Release(punkVal);
703
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(punkVal, ref guidIWICQueryWriter, out queryHandle);
717
hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(punkVal, ref guidIWICQueryReader, out queryHandle);
737
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref queryHandle);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1241
UnsafeNativeMethods.
MILUnknown
.AddRef(_pDoubleBufferedBitmap);
System\Windows\Media\MediaPlayerState.cs (1)
1015
UnsafeNativeMethods.
MILUnknown
.AddRef(_nativeMedia);
System\Windows\Media\PixelFormat.cs (4)
543
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pixelFormatInfo);
574
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
583
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref componentInfo);
613
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)
597
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pIStream);
619
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pIStream);
System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (1)
520
UnsafeNativeMethods.
MILUnknown
.Release(ptr);