CHDKPTP.CHDKPTPSession.CHDK_ReadScriptMsg C# (CSharp) Method

CHDK_ReadScriptMsg() public method

public CHDK_ReadScriptMsg ( CHDK_ScriptMsgType &type, int &subtype, int &script_id, byte &data ) : void
type CHDK_ScriptMsgType
subtype int
script_id int
data byte
return void
        public void CHDK_ReadScriptMsg(out CHDK_ScriptMsgType type, out int subtype, out int script_id, out byte[] data)
        {
            SendCHDKCommand(CHDK_PTP_Command.PTP_CHDK_ReadScriptMsg, out data, 0);
            Ensure_PTP_RC_OK();

            type = (CHDK_ScriptMsgType) ptp.Param1;
            subtype = ptp.Param2;
            script_id = ptp.Param3;
        }