26 references to MilCoreApi
PresentationCore (26)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (2)
80UnsafeNativeMethods.MilCoreApi.EnterCompositionEngineLock(); 90UnsafeNativeMethods.MilCoreApi.ExitCompositionEngineLock();
System\Windows\Media\ChannelManager.cs (3)
35using UnsafeNativeMethods=MS.Win32.PresentationCore.UnsafeNativeMethods.MilCoreApi; 131HRESULT.Check(UnsafeNativeMethods.WgxConnection_Disconnect(_pSyncConnection)); 145HRESULT.Check(UnsafeNativeMethods.WgxConnection_Create(
System\Windows\Media\Geometry.cs (3)
628int hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryFlatten( 724int hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryWiden( 856int hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryOutline(
System\Windows\Media\GlyphTypeface.cs (2)
1273HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MilGlyphRun_GetGlyphOutline( 1293HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MilGlyphRun_ReleasePathGeometryData(
System\Windows\Media\Imaging\BitmapSource.cs (1)
920HRESULT.Check(UnsafeNativeMethods.MilCoreApi.CreateCWICWrapperBitmap(
System\Windows\Media\MediaSystem.cs (7)
27using UnsafeNativeMethods=MS.Win32.PresentationCore.UnsafeNativeMethods.MilCoreApi; 58HRESULT.Check(UnsafeNativeMethods.MilVersionCheck(MS.Internal.Composition.Version.MilSdkVersion)); 72UnsafeNativeMethods.WgxConnection_ShouldForceSoftwareForGraphicsStreamClient(); 84UnsafeNativeMethods.RenderOptions_EnableHardwareAccelerationInRdp(CoreAppContextSwitches.EnableHardwareAccelerationInRdp); 186UnsafeNativeMethods.WgxConnection_ShouldForceSoftwareForGraphicsStreamClient(); 210HRESULT.Check(UnsafeNativeMethods.WgxConnection_Create( 243HRESULT.Check(UnsafeNativeMethods.WgxConnection_Disconnect(s_pConnection));
System\Windows\Media\PathGeometry.cs (2)
646int hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryCombine( 800int hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryBounds(
System\Windows\Media\RenderOptions.cs (2)
240return UnsafeNativeMethods.MilCoreApi.RenderOptions_IsSoftwareRenderingForcedForProcess() ? 251UnsafeNativeMethods.MilCoreApi.RenderOptions_ForceSoftwareRenderingModeForProcess(
System\Windows\Media\SafeReversePInvokeHandle.cs (2)
47HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MilCreateReversePInvokeWrapper(delegatePtr, out reversePInvokeWrapper)); 56UnsafeNativeMethods.MilCoreApi.MilReleasePInvokePtrBlocking(handle);
System\Windows\Media\StreamAsIStream.cs (1)
724HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MILCreateStreamFromStreamDescriptor(ref sd, out pStream));
System\Windows\Media\TileBrush.cs (1)
134MS.Win32.PresentationCore.UnsafeNativeMethods.MilCoreApi.MilUtility_GetTileBrushMapping(