Skip to main content

OH_Input_CursorInfo_GetStyle

Function OH_Input_CursorInfo_GetStyle 

Source
pub unsafe extern "C" fn OH_Input_CursorInfo_GetStyle(
    cursorInfo: *mut Input_CursorInfo,
    style: *mut Input_PointerStyle,
) -> Input_Result
Available on crate feature api-22 only.
Expand description

Obtains the cursor style of the cursorInfo.

§Arguments

  • cursorInfo - Cursor info object.

  • style - Cursor style of the cursorInfo.

§Returns

  • OH_Input_CursorInfo_GetStyle function api result code [INPUT_SUCCESS] if the operation is successful; [INPUT_PARAMETER_ERROR] if parameter is a null cursor or the cursor is invisible;

Available since API-level: 22