public void CHDK_ScriptStatus(out CHDK_ScriptStatus flags) { SendCHDKCommand(CHDK_PTP_Command.PTP_CHDK_ScriptStatus, 0); Ensure_PTP_RC_OK(); flags = (CHDK_ScriptStatus)ptp.Param1; }