Library
kernel32.dll
Alias
CreateFileA
Type Return
A Long Value
Syntax
CreateFile ( lpFileName, dwDesiredAccess, dwShareMode, lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile)
The CreateFile Declaration syntax has these parts:
Part | Description |
lpFileName | Required. A String Value. |
dwDesiredAccess | Required. A Long Value. |
dwShareMode | Required. A Long Value. |
lpSecurityAttributes | Required. A SECURITY_ATTRIBUTES Value. |
dwCreationDisposition | Required. A Long Value. |
dwFlagsAndAttributes | Required. A Long Value. |
hTemplateFile | Required. A Long Value. |