PyHANDLE = CreateFileW(fileName, desiredAccess
, shareMode
, attributes
, creationDisposition
, flagsAndAttributes
, hTemplateFile
)
An NT/2000 specific Unicode version of CreateFile - see win32file::CreateFile for more information.
Parameters
fileName : PyUnicode
The name of the filedesiredAccess : int
access (read-write) modeshareMode : int
Set of bit flags that specifies how the object can be shared. If dwShareMode is 0, the object cannot be shared. Subsequent open operations on the object will fail, until the handle is closed.attributes : PySECURITY_ATTRIBUTES
The security attributes, or NonecreationDisposition : int
Specifies which action to take on files that exist, and which action to take when files do not exist. For more information about this parameter, see win32file::CreateFileflagsAndAttributes : int
file attributeshTemplateFile : PyHANDLE
Specifies a handle with GENERIC_READ access to a template file. The template file supplies file attributes and extended attributes for the file being created.