Ejemplo n.º 1
0
        public static IDeviceContext CreateDeviceContext(RenderBackendType prefferedBackend, IDeviceContextCallback callback)
        {
            IDeviceContext obj;

            CreateDeviceContext(prefferedBackend, callback, out obj);
            return(obj);
        }
Ejemplo n.º 2
0
 private static extern void CreateDeviceContext(RenderBackendType preferredBackend, [MarshalAs(UnmanagedType.Interface), In] IDeviceContextCallback callback, [MarshalAs(UnmanagedType.Interface)] out IDeviceContext obj);