CreateFileW (KERNEL32.@)
HANDLE CreateFileW ( LPCWSTR filename, DWORD access, DWORD sharing, LPSECURITY_ATTRIBUTES sa, DWORD creation, DWORD attributes, HANDLE template )
CreateFileW [KERNEL32.@] Creates or opens a file or other object.
Creates or opens an object, and returns a handle that can be used to access that object.
filename | [In] | pointer to filename to be accessed. |
access | [In] | access mode requested. |
sharing | [In] | share mode. |
sa | [In] | pointer to security attributes. |
creation | [In] | how to create the file. |
attributes | [In] | attributes for newly created file. |
template | [In] | handle to file with extended attributes to copy. |
Success: Open handle to specified file
Failure: INVALID_HANDLE_VALUE
Defined in "winbase.h".
Implemented in "dlls/kernel/file.c". source.winehq.org/source/dlls/kernel/file.c
Debug channel "file".
Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.