42 references to MILUnknown
PresentationCore (42)
System\Windows\InterOp\D3DImage.cs (2)
780
UnsafeNativeMethods.
MILUnknown
.AddRef(_pInteropDeviceBitmap);
797
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)
1175
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref comStream);
1538
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(
310
UnsafeNativeMethods.
MILUnknown
.Release(pIMetadataWriter);
340
return UnsafeNativeMethods.
MILUnknown
.QueryInterface(
366
UnsafeNativeMethods.
MILUnknown
.AddRef(metadataWriter);
399
UnsafeNativeMethods.
MILUnknown
.AddRef(metadataWriter);
520
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(
707
UnsafeNativeMethods.
MILUnknown
.Release(blockWriter);
712
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
756
UnsafeNativeMethods.
MILUnknown
.Release(blockWriter);
761
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
813
UnsafeNativeMethods.
MILUnknown
.Release(queryWriter);
System\Windows\Media\Imaging\BitmapSource.cs (2)
585
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
877
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)
411
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
448
UnsafeNativeMethods.
MILUnknown
.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr)));
478
UnsafeNativeMethods.
MILUnknown
.Release(punkVal);
697
int hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(punkVal, ref guidIWICQueryWriter, out queryHandle);
711
hr = UnsafeNativeMethods.
MILUnknown
.QueryInterface(punkVal, ref guidIWICQueryReader, out queryHandle);
731
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref queryHandle);
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1230
UnsafeNativeMethods.
MILUnknown
.AddRef(_pDoubleBufferedBitmap);
System\Windows\Media\MediaPlayerState.cs (1)
1015
UnsafeNativeMethods.
MILUnknown
.AddRef(_nativeMedia);
System\Windows\Media\PixelFormat.cs (4)
380
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pixelFormatInfo);
411
HRESULT.Check(UnsafeNativeMethods.
MILUnknown
.QueryInterface(
420
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref componentInfo);
450
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref pixelFormatInfo);
System\Windows\Media\safemediahandle.cs (1)
32
UnsafeNativeMethods.
MILUnknown
.ReleaseInterface(ref handle);
System\Windows\Media\SafeMILHandle.cs (1)
64
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);