27 references to MilCoreApi
PresentationCore (27)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (2)
63UnsafeNativeMethods.MilCoreApi.EnterCompositionEngineLock(); 73UnsafeNativeMethods.MilCoreApi.ExitCompositionEngineLock();
System\Windows\Media\ChannelManager.cs (3)
16using UnsafeNativeMethods = MS.Win32.PresentationCore.UnsafeNativeMethods.MilCoreApi; 112HRESULT.Check(UnsafeNativeMethods.WgxConnection_Disconnect(_pSyncConnection)); 126HRESULT.Check(UnsafeNativeMethods.WgxConnection_Create(
System\Windows\Media\Geometry.cs (4)
610int hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryFlatten( 695hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryWiden(&penData, 710hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryWiden(&penData, 835int hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryOutline(
System\Windows\Media\GlyphTypeface.cs (2)
1264HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MilGlyphRun_GetGlyphOutline( 1284HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MilGlyphRun_ReleasePathGeometryData(
System\Windows\Media\Imaging\BitmapSource.cs (1)
873HRESULT.Check(UnsafeNativeMethods.MilCoreApi.CreateCWICWrapperBitmap(
System\Windows\Media\MediaSystem.cs (7)
16using UnsafeNativeMethods = MS.Win32.PresentationCore.UnsafeNativeMethods.MilCoreApi; 46HRESULT.Check(UnsafeNativeMethods.MilVersionCheck(MS.Internal.Composition.Version.MilSdkVersion)); 60UnsafeNativeMethods.WgxConnection_ShouldForceSoftwareForGraphicsStreamClient(); 72UnsafeNativeMethods.RenderOptions_EnableHardwareAccelerationInRdp(CoreAppContextSwitches.EnableHardwareAccelerationInRdp); 174UnsafeNativeMethods.WgxConnection_ShouldForceSoftwareForGraphicsStreamClient(); 198HRESULT.Check(UnsafeNativeMethods.WgxConnection_Create( 231HRESULT.Check(UnsafeNativeMethods.WgxConnection_Disconnect(s_pConnection));
System\Windows\Media\PathGeometry.cs (2)
623int hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryCombine( 771int hr = UnsafeNativeMethods.MilCoreApi.MilUtility_PathGeometryBounds(
System\Windows\Media\RenderOptions.cs (2)
236return UnsafeNativeMethods.MilCoreApi.RenderOptions_IsSoftwareRenderingForcedForProcess() ? 247UnsafeNativeMethods.MilCoreApi.RenderOptions_ForceSoftwareRenderingModeForProcess(
System\Windows\Media\SafeReversePInvokeHandle.cs (2)
37HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MilCreateReversePInvokeWrapper(delegatePtr, out reversePInvokeWrapper)); 46UnsafeNativeMethods.MilCoreApi.MilReleasePInvokePtrBlocking(handle);
System\Windows\Media\StreamAsIStream.cs (1)
660HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MILCreateStreamFromStreamDescriptor(ref sd, out pStream));
System\Windows\Media\TileBrush.cs (1)
125MS.Win32.PresentationCore.UnsafeNativeMethods.MilCoreApi.MilUtility_GetTileBrushMapping(