Function CFErrorGetCode

Source
pub unsafe extern "C-unwind" fn CFErrorGetCode(
    err: &CFError,
) -> CFIndex
Available on crate features CFError and CFBase only.
Expand description

Returns the error code the CFError was created with.

Parameter err: The CFError whose error code is to be returned. If this reference is not a valid CFError, the behavior is undefined.

Returns: The error code of the CFError (not an error return for the current call).