25 references to MilCoreApi
PresentationCore (25)
Core\CSharp\System\Windows\Media\ChannelManager.cs (3)
37
using UnsafeNativeMethods=MS.Win32.PresentationCore.UnsafeNativeMethods.
MilCoreApi
;
148
HRESULT.Check(
UnsafeNativeMethods
.WgxConnection_Disconnect(_pSyncConnection));
170
HRESULT.Check(
UnsafeNativeMethods
.WgxConnection_Create(
Core\CSharp\System\Windows\Media\Geometry.cs (3)
655
int hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryFlatten(
764
int hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryWiden(
902
int hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryOutline(
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
1617
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.MilGlyphRun_GetGlyphOutline(
1637
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.MilGlyphRun_ReleasePathGeometryData(
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
1005
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.CreateCWICWrapperBitmap(
Core\CSharp\System\Windows\Media\MediaSystem.cs (6)
28
using UnsafeNativeMethods=MS.Win32.PresentationCore.UnsafeNativeMethods.
MilCoreApi
;
66
HRESULT.Check(
UnsafeNativeMethods
.MilVersionCheck(MS.Internal.Composition.Version.MilSdkVersion));
80
UnsafeNativeMethods
.WgxConnection_ShouldForceSoftwareForGraphicsStreamClient();
202
UnsafeNativeMethods
.WgxConnection_ShouldForceSoftwareForGraphicsStreamClient();
232
HRESULT.Check(
UnsafeNativeMethods
.WgxConnection_Create(
271
HRESULT.Check(
UnsafeNativeMethods
.WgxConnection_Disconnect(s_pConnection));
Core\CSharp\System\Windows\Media\PathGeometry.cs (2)
689
int hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryCombine(
849
int hr = UnsafeNativeMethods.
MilCoreApi
.MilUtility_PathGeometryBounds(
Core\CSharp\System\Windows\Media\RenderOptions.cs (2)
248
return UnsafeNativeMethods.
MilCoreApi
.RenderOptions_IsSoftwareRenderingForcedForProcess() ?
261
UnsafeNativeMethods.
MilCoreApi
.RenderOptions_ForceSoftwareRenderingModeForProcess(
Core\CSharp\System\Windows\Media\SafeReversePInvokeHandle.cs (2)
59
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.MilCreateReversePInvokeWrapper(delegatePtr, out reversePInvokeWrapper));
73
UnsafeNativeMethods.
MilCoreApi
.MilReleasePInvokePtrBlocking(handle);
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (1)
797
HRESULT.Check(UnsafeNativeMethods.
MilCoreApi
.MILCreateStreamFromStreamDescriptor(ref sd, out pStream));
Core\CSharp\System\Windows\Media\TileBrush.cs (1)
143
MS.Win32.PresentationCore.UnsafeNativeMethods.
MilCoreApi
.MilUtility_GetTileBrushMapping(
Graphics\include\exports.cs (2)
91
UnsafeNativeMethods.
MilCoreApi
.EnterCompositionEngineLock();
106
UnsafeNativeMethods.
MilCoreApi
.ExitCompositionEngineLock();