Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IStream.cs
Go to the documentation of this file.
2
3[ComImport]
4[Guid("0000000c-0000-0000-C000-000000000046")]
5[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
6public interface IStream
7{
8 void Read([Out][MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] byte[] pv, int cb, IntPtr pcbRead);
9
10 void Write([MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] byte[] pv, int cb, IntPtr pcbWritten);
11
12 void Seek(long dlibMove, int dwOrigin, IntPtr plibNewPosition);
13
14 void SetSize(long libNewSize);
15
16 void CopyTo(IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
17
18 void Commit(int grfCommitFlags);
19
20 void Revert();
21
22 void LockRegion(long libOffset, long cb, int dwLockType);
23
24 void UnlockRegion(long libOffset, long cb, int dwLockType);
25
26 void Stat(out STATSTG pstatstg, int grfStatFlag);
27
28 void Clone(out IStream ppstm);
29}
void LockRegion(long libOffset, long cb, int dwLockType)
void Write([MarshalAs(UnmanagedType.LPArray, SizeParamIndex=1)] byte[] pv, int cb, IntPtr pcbWritten)
void Stat(out STATSTG pstatstg, int grfStatFlag)
void CopyTo(IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten)
void UnlockRegion(long libOffset, long cb, int dwLockType)
void Read([Out][MarshalAs(UnmanagedType.LPArray, SizeParamIndex=1)] byte[] pv, int cb, IntPtr pcbRead)
void Seek(long dlibMove, int dwOrigin, IntPtr plibNewPosition)