27 references to MilCoreApi
PresentationCore (27)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (2)
62
UnsafeNativeMethods.
MilCoreApi
.EnterCompositionEngineLock();
72
UnsafeNativeMethods.
MilCoreApi
.ExitCompositionEngineLock();
System\Windows\Media\ChannelManager.cs (3)
15
using UnsafeNativeMethods = MS.Win32.PresentationCore.UnsafeNativeMethods.
MilCoreApi
;
111
HRESULT.Check(
UnsafeNativeMethods
.WgxConnection_Disconnect(_pSyncConnection));
125
HRESULT.Check(
UnsafeNativeMethods
.WgxConnection_Create(
System\Windows\Media\Geometry.cs (4)
609
int hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryFlatten(
694
hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryWiden(&penData,
709
hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryWiden(&penData,
834
int hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryOutline(
System\Windows\Media\GlyphTypeface.cs (2)
1263
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.MilGlyphRun_GetGlyphOutline(
1283
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.MilGlyphRun_ReleasePathGeometryData(
System\Windows\Media\Imaging\BitmapSource.cs (1)
872
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.CreateCWICWrapperBitmap(
System\Windows\Media\MediaSystem.cs (7)
15
using UnsafeNativeMethods = MS.Win32.PresentationCore.UnsafeNativeMethods.
MilCoreApi
;
45
HRESULT.Check(
UnsafeNativeMethods
.MilVersionCheck(MS.Internal.Composition.Version.MilSdkVersion));
59
UnsafeNativeMethods
.WgxConnection_ShouldForceSoftwareForGraphicsStreamClient();
71
UnsafeNativeMethods
.RenderOptions_EnableHardwareAccelerationInRdp(CoreAppContextSwitches.EnableHardwareAccelerationInRdp);
173
UnsafeNativeMethods
.WgxConnection_ShouldForceSoftwareForGraphicsStreamClient();
197
HRESULT.Check(
UnsafeNativeMethods
.WgxConnection_Create(
230
HRESULT.Check(
UnsafeNativeMethods
.WgxConnection_Disconnect(s_pConnection));
System\Windows\Media\PathGeometry.cs (2)
622
int hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryCombine(
770
int hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryBounds(
System\Windows\Media\RenderOptions.cs (2)
235
return UnsafeNativeMethods.
MilCoreApi
.RenderOptions_IsSoftwareRenderingForcedForProcess() ?
246
UnsafeNativeMethods.
MilCoreApi
.RenderOptions_ForceSoftwareRenderingModeForProcess(
System\Windows\Media\SafeReversePInvokeHandle.cs (2)
36
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.MilCreateReversePInvokeWrapper(delegatePtr, out reversePInvokeWrapper));
45
UnsafeNativeMethods.
MilCoreApi
.MilReleasePInvokePtrBlocking(handle);
System\Windows\Media\StreamAsIStream.cs (1)
659
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.MILCreateStreamFromStreamDescriptor(ref sd, out pStream));
System\Windows\Media\TileBrush.cs (1)
124
MS.Win32.PresentationCore.UnsafeNativeMethods.
MilCoreApi
.MilUtility_GetTileBrushMapping(