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
fileName
stringfileAccess
uintfileShare
uintsecurityAttributes
nintcreationDisposition
FileModeflags
inttemplate
nint