pub type PduStartComPrimitiveFn = extern "C" fn(h_mod: u32, h_cll: u32, cop_type: PduCopt, cop_data_size: u32, p_cop_data: *mut u8, p_cop_ctrl_data: *mut CopCtrlData, p_cop_tag: *mut c_void, ph_cop: *mut u32) -> PduError;
Expand description

Creates and starts a ComPrimitive

Parameters

  • h_mod - Handle of the MVCI module
  • h_cll - Handle of the ComLogicalLink to start the ComPrimitive on
  • cop_type - Type of ComPrimitive to start
  • cop_data_size - Size of the data for the ComPrimitive
  • p_cop_data - Pointer to data for the ComPrimitive
  • p_cop_tag - Application specific tag
  • ph_cop - Reference for storing the returned ComPrimitive handle