public static extern bool ReadFileEx(IntPtr hFile, [Out] byte[] lpBuffer, uint nNumberOfBytesToRead, [In] ref System.Threading.NativeOverlapped lpOverlapped, WriteFileCompletionDelegate lpCompletionRoutine);
public static extern bool WriteFileEx(SafeFileHandle hFile, byte *lpBuffer, uint nNumberOfBytesToWrite, NativeOverlapped *lpOverlapped, WriteFileCompletionDelegate lpCompletionRoutine);
public static extern bool WriteFileEx(SafeFileHandle hFile, byte* lpBuffer, uint nNumberOfBytesToWrite, NativeOverlapped* lpOverlapped, WriteFileCompletionDelegate lpCompletionRoutine);
public extern static bool WriteFileEx( IntPtr hFile, byte[] lpBuffer, uint nNumberOfBytesToWrite, [In] ref NativeOverlapped lpOverlapped, WriteFileCompletionDelegate lpCompletionRoutine);
public StorageFile(string filePath) { CompletedDelegate = new WriteFileCompletionDelegate(Completed); _fileHandle = OpenOrCreateFile(filePath); Header = new FileHeader(this); }
public static extern bool WriteFileEx(SafeFileHandle hFile, byte[] lpBuffer, uint nNumberOfBytesToWrite, [In] ref System.Threading.NativeOverlapped lpOverlapped, WriteFileCompletionDelegate lpCompletionRoutine);