File: Serialization\RCW\ISequentialStream.cs
Web Access
Project: src\src\Microsoft.DotNet.Wpf\src\ReachFramework\ReachFramework.csproj (ReachFramework)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
 
namespace System.Windows.Xps.Serialization.RCW
{
    [Guid("0C733A30-2A1C-11CE-ADE5-00AA0044773D"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [ComImport]
    internal interface ISequentialStream
    {
        [MethodImpl(MethodImplOptions.InternalCall)]
        void RemoteRead(out byte pv, [In] uint cb, out uint pcbRead);
 
        [MethodImpl(MethodImplOptions.InternalCall)]
        void RemoteWrite([In] ref byte pv, [In] uint cb, out uint pcbWritten);
    }
}