pub unsafe extern "C" fn OH_ArkUI_PointerEvent_DestroyClonedEvent(
event: *const ArkUI_UIInputEvent,
) -> i32Available on crate features
api-12 and api-15 only.Expand description
Destroys a cloned event pointer.
§Arguments
event- Pointer to an ArkUI_UIInputEvent object.
§Returns
- Returns the result code.
Returns [
ARKUI_ERROR_CODE_NO_ERROR] if the operation is successful. Returns [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs. Returns [ARKUI_ERROR_CODE_NON_CLONED_POINTER_EVENT] if the input event pointer is not a cloned event pointer.
Available since API-level: 15