pub unsafe extern "C" fn OH_NativeXComponent_GetMouseEvent(
component: *mut OH_NativeXComponent,
window: *const c_void,
mouseEvent: *mut OH_NativeXComponent_MouseEvent,
) -> i32Expand description
Obtains the mouse event dispatched by the ArkUI XComponent.
§Arguments
-
component- Indicates the pointer to this OH_NativeXComponent instance. -
window- Indicates the native window handler. -
mouseEvent- Indicates the pointer to the current mouse event.
§Returns
- Returns the status code of the execution.
Available since API-level: 9
Version: 1.0