CAClockSetProperty

Function CAClockSetProperty 

Source
pub unsafe extern "C-unwind" fn CAClockSetProperty(
    in_ca_clock: CAClockRef,
    in_property_id: CAClockPropertyID,
    in_property_data_size: u32,
    in_property_data: NonNull<c_void>,
) -> i32
Expand description

Changes the value of a clock’s property.

Parameter inCAClock: The clock object.

Parameter inPropertyID: The property being set.

Parameter inPropertyDataSize: The size of the property data, in bytes.

Parameter inPropertyData: Points to the property’s new value.

Returns: An OSStatus error code.

§Safety

  • in_ca_clock must be a valid pointer.
  • in_property_data must be a valid pointer.