void %_APPTYPE%::Call%_DLGFUNC(_DLGNUM)%()
{
@IFEQUAL %_DLGDATAFLAG(_DLGNUM)% 0
    ushort Result = %_DLGFUNC(_DLGNUM)%();
  @ELSE
    T%_DLGFUNC(_DLGNUM)%Data D;
    ushort Result = %_DLGFUNC(_DLGNUM)%(D,False);
@ENDIF
}
