Private Declaration CreateFile

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
lpFileNameRequired. A String Value.
dwDesiredAccessRequired. A Long Value.
dwShareModeRequired. A Long Value.
lpSecurityAttributesRequired. A SECURITY_ATTRIBUTES Value.
dwCreationDispositionRequired. A Long Value.
dwFlagsAndAttributesRequired. A Long Value.
hTemplateFileRequired. A Long Value.