Opened on Oct 14, 2011 at 2:23:38 PM
Closed on Oct 14, 2011 at 5:48:20 PM
Last modified on Oct 14, 2011 at 7:37:03 PM
#2035 closed Bug (No Bug)
DllCall() - undocumented datatype "bool"
| Reported by: | Zedna | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Documentation | |
| Version: | 3.3.7.18 | Severity: | None |
| Keywords: | Cc: |
Description
In Helpfile for DllCall() there is not mentioned "bool" type for Valid Autoit Types. So oficially AutoIt Type "int" should be used for WINDOWS API Type "bool".
But I noticed in some UDFs there is used undocumented "bool" type directly and it works fine.
So probaly only Helpfile should be corrected accordingly.
Example:
Func _GUICtrlMenu_AppendMenu($hMenu, $iFlags, $iNewItem, $pNewItem)
...
Local $aResult = DllCall("User32.dll", "bool", "AppendMenuW", "handle", $hMenu, "uint", $iFlags, "uint_ptr", $iNewItem, $sType, $pNewItem)
...
EndFunc ;==>_GUICtrlMenu_AppendMenu
Attachments (0)
Change History (2)
comment:1 by , on Oct 14, 2011 at 5:48:20 PM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
comment:2 by , on Oct 14, 2011 at 7:37:03 PM
Sorry! Sorry!
I looked into helpfile for older release 3.2.12.1 All the time.
I use on my computers release 3.2.12.1 and as beta latest beta (3.3.7.18).
In older helpfile there is no BOOL/BOOLEAN.
In latest beta it's documented OK.

DllCall data types are case-insensitive.