public static IDeviceContext CreateDeviceContext(RenderBackendType prefferedBackend, IDeviceContextCallback callback) { IDeviceContext obj; CreateDeviceContext(prefferedBackend, callback, out obj); return(obj); }
private static extern void CreateDeviceContext(RenderBackendType preferredBackend, [MarshalAs(UnmanagedType.Interface), In] IDeviceContextCallback callback, [MarshalAs(UnmanagedType.Interface)] out IDeviceContext obj);