예제 #1
0
 public static extern bool LockFileEx(
     [In] IntPtr hFile, LOCKFILE dwFlags, uint dwReserved, uint nNumberOfBytesToLockLow, uint nNumberOfBytesToLockHigh, ref OVERLAPPED lpOverlapped);
예제 #2
0
 public static extern bool ReadFileEx(
     [In] IntPtr hFile, IntPtr lpBuffer, uint nNumberOfBytesToRead, ref OVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
예제 #3
0
 public static extern bool ReadFileScatter(
     [In] IntPtr hFile, [In] ref FILE_SEGMENT_ELEMENT aSegmentArray, uint nNumberOfBytesToRead, IntPtr lpReserved, ref OVERLAPPED lpOverlapped);
예제 #4
0
 public static extern bool UnlockFileEx(
     [In] IntPtr hFile, uint dwReserved, uint nNumberOfBytesToUnlockLow, uint nNumberOfBytesToUnlockHigh, ref OVERLAPPED lpOverlapped);
예제 #5
0
 public static extern bool ReadDirectoryChanges(
     [In] IntPtr hDirectory, IntPtr lpBuffer, uint nBufferLength, [MarshalAs(UnmanagedType.Bool)] bool bWatchSubtree, uint dwNotifyFilter,
     [Out] out uint lpBytesReturned, ref OVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);