I'm just wondering do those who using AutoIt occasional use structures to pass multiple values to a custom UDF or opt for an array instead? Local $tCustomStruct = 'hwnd guihandle; int labelid; Local $hGUI = GUICreate('') DllStructSetData($tCustomStruct, 'guihandle', $hGUI) Example($tCustomStruct, ... Func Example(ByRef $tStruct, ... Local $hWnd = DllStructGetData($tStruct, ... Local $iLabel = DllStructGetData($tStruct, ... EndFunc ;==>Example