示例#1
0
 public static extern int WriteFileGather(SafeFileHandle hFile, [In] ref FILE_SEGMENT_ELEMENT[] aSegmentArray,
                                          uint nNumberOfBytesToWrite, IntPtr lpReserved, ref OVERLAPPED lpOverlapped);
示例#2
0
 public static extern int WriteFileEx(SafeFileHandle hFile, IntPtr lpBuffer, uint nNumberOfBytesToWrite,
                                      ref OVERLAPPED lpOverlapped, FileIOCompletionRoutine lpCompletionRoutine);
示例#3
0
 public static extern bool ReadFile(SafeFileHandle hFile,
                                    IntPtr lpBuffer, uint nNumberOfBytesToRead,
                                    IntPtr lpNumberOfBytesRead, ref OVERLAPPED lpOverlapped);
示例#4
0
 public static extern Int32 ReadFile(SafeFileHandle hFile,
                                     ref Byte lpBuffer, Int32 nNumberOfBytesToRead,
                                     ref Int32 lpNumberOfBytesRead,
                                     ref OVERLAPPED lpOverlapped);
示例#5
0
 public static extern bool UnlockFileEx(SafeFileHandle hFile, uint dwReserved, uint nNumberOfBytesToUnlockLow, uint nNumberOfBytesToUnlockHigh, ref OVERLAPPED lpOverlapped);