Skip to main content

OH_Input_CustomCursor_GetPixelMap

Function OH_Input_CustomCursor_GetPixelMap 

Source
pub unsafe extern "C" fn OH_Input_CustomCursor_GetPixelMap(
    customCursor: *mut Input_CustomCursor,
    pixelMap: *mut *mut OH_PixelmapNative,
) -> Input_Result
Available on crate feature api-22 only.
Expand description

Obtains the pixelMap of the CustomCursor.

§Arguments

§Returns

  • OH_Input_CustomCursor_GetPixelMap function result code. [INPUT_SUCCESS] if the operation is successful; [INPUT_PARAMETER_ERROR] The customCursor is NULL.

Available since API-level: 22