Kernel32CreateFile Method

Overload List

CreateFile(String, FileAccessRights, FileShare, IntPtr, FileMode, CreateFileFlags, IntPtr) Creates or opens a file or I/O device.

The most commonly used I/O devices are as follows:

file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe.

The function returns a handle that can be used to access the file or device for various types of I/O depending on the file or device and the flags and attributes specified.

CreateFile(String, FileAccessRights, FileShare, IntPtr, FileMode, FileAttributes, IntPtr) Creates or opens a file or I/O device.

The most commonly used I/O devices are as follows:

file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe.

The function returns a handle that can be used to access the file or device for various types of I/O depending on the file or device and the flags and attributes specified.

CreateFile(String, FileAccessRights, FileShare, IntPtr, FileMode, UInt32, IntPtr) Creates or opens a file or I/O device.

The most commonly used I/O devices are as follows:

file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe.

The function returns a handle that can be used to access the file or device for various types of I/O depending on the file or device and the flags and attributes specified.

CreateFile(String, Int32, FileShare, IntPtr, FileMode, CreateFileFlags, IntPtr) Creates or opens a file or I/O device.

The most commonly used I/O devices are as follows:

file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe.

The function returns a handle that can be used to access the file or device for various types of I/O depending on the file or device and the flags and attributes specified.

CreateFile(String, Int32, FileShare, IntPtr, FileMode, FileAttributes, IntPtr) Creates or opens a file or I/O device.

The most commonly used I/O devices are as follows:

file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe.

The function returns a handle that can be used to access the file or device for various types of I/O depending on the file or device and the flags and attributes specified.

CreateFile(String, Int32, FileShare, IntPtr, FileMode, UInt32, IntPtr) Creates or opens a file or I/O device.

The most commonly used I/O devices are as follows:

file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, and pipe.

The function returns a handle that can be used to access the file or device for various types of I/O depending on the file or device and the flags and attributes specified.

See Also