Modify ↓
      
        Opened 17 years ago
Closed 17 years ago
#610 closed Bug (Fixed)
WinAPI.au3 _WinAPI_CreateFile() does not return 0 on failure as specified in beta help
| Reported by: | Bowmore | Owned by: | Gary | 
|---|---|---|---|
| Milestone: | 3.2.13.10 | Component: | Standard UDFs | 
| Version: | 3.2.13.8 | Severity: | None | 
| Keywords: | Cc: | 
Description
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)
Attachments (0)
Change History (1)
comment:1 Changed 17 years ago by Gary
- Milestone set to 3.2.13.10
 - Resolution set to Fixed
 - Status changed from new to closed
 
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
 - In-depth discussions should take place on the forum.
 
For more information see the full version of the ticket guidelines here.
Note: See
        TracTickets for help on using
        tickets.
    
Fixed in version: 3.2.13.10