CreateFile Function - Windows API

Purpose



Declaration

C#

[DllImport("kernel32.dll")]
private static extern int CreateFile(string fileName, int desiredAccess, int shareMode, 
	int securityAttributes, int creationDisposition, int flagsAndAttributes, int 
	hTemplateFile);