Skip to main content

OH_CursorInfo_GetRect

Function OH_CursorInfo_GetRect 

Source
pub unsafe extern "C" fn OH_CursorInfo_GetRect(
    cursorInfo: *mut InputMethod_CursorInfo,
    left: *mut f64,
    top: *mut f64,
    width: *mut f64,
    height: *mut f64,
) -> InputMethod_ErrorCode
Expand description

@brief Get cursor info.

@param cursorInfo Represents a pointer to an {@link InputMethod_CursorInfo} instance. @param left The left point of the cursor and must be absolute coordinate of the physical screen. @param top The top point of the cursor and must be absolute coordinate of the physical screen. @param width The width of the cursor. @param height The height of the cursor. @return Returns a specific error code. {@link IME_ERR_OK} - success. {@link IME_ERR_NULL_POINTER} - unexpected null pointer. Specific error codes can be referenced {@link InputMethod_ErrorCode}. @since 12