OH_Input_GetMouseEventWindowId

Function OH_Input_GetMouseEventWindowId 

Source
pub unsafe extern "C" fn OH_Input_GetMouseEventWindowId(
    mouseEvent: *const Input_MouseEvent,
) -> i32
Available on crate feature api-15 only.
Expand description

Obtains the windowId of a mouse event.

§Arguments

  • mouseEvent - Mouse event object.

§Returns

  • windowId.

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 15