﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
610	WinAPI.au3 _WinAPI_CreateFile() does not return 0 on failure as specified in beta help	Bowmore	Gary	"Tested on
WinXP SP3
AutoIt Beta 3.2.13.8
WinAPI.au3

This may be either a documentation issue or a UDF bug

From Beta Help
Return Value

Success: The open handle to a specified file
Failure: 0

From testing I get 0xFFFFFFFF returned on failure

{{{
#Include <WinAPI.au3>
$sfile = ""C:\I do not exist.txt"" 
$hFile = _WinAPI_CreateFile($sFile, 2, 2, 2)
MsgBox(0,""File Handle"", $hFile)
}}}

"	Bug	closed	3.2.13.10	Standard UDFs	3.2.13.8	None	Fixed		
