OH_NativeXComponent_GetExtraMouseEventInfo

Function OH_NativeXComponent_GetExtraMouseEventInfo 

Source
pub unsafe extern "C" fn OH_NativeXComponent_GetExtraMouseEventInfo(
    component: *mut OH_NativeXComponent,
    extraMouseEventInfo: *mut *mut OH_NativeXComponent_ExtraMouseEventInfo,
) -> i32
Available on crate feature api-20 only.
Expand description

Obtains the extra mouse event dispatched by the ArkUI XComponent.

§Arguments

  • component - Indicates the pointer to this OH_NativeXComponent instance.

  • extraMouseEventInfo - Indicates the pointer to pointer of OH_NativeXComponent_ExtraMouseEventInfo instance.

§Returns

  • Returns the status code of the execution. [ARKUI_ERROR_CODE_NO_ERROR] the execution is successful. [ARKUI_ERROR_CODE_PARAM_INVALID] if a parameter error occurs.

Available since API-level: 20

Version: 1.0