Method CreateFile
CreateFile(string, uint, uint, IntPtr, FileMode, int, IntPtr)
Creates file.
public static extern SafeFileHandle CreateFile(string fileName, uint fileAccess, uint fileShare, IntPtr securityAttributes, FileMode creationDisposition, int flags, IntPtr template)
Parameters
fileNamestringfileAccessuintfileShareuintsecurityAttributesnintcreationDispositionFileModeflagsinttemplatenint