pub unsafe extern "C" fn OH_PixelMap_GetIsEditable(
native: *const NativePixelMap,
editable: *mut i32,
) -> i32Expand description
@brief Checks whether a NativePixelMap object is editable.
@param native Pointer to a NativePixelMap object. @param editable Pointer to the editing type of the NativePixelMap object. @return Result code defined in {@link IRNdkErrCode}:
- {@link IMAGE_RESULT_SUCCESS}: The operation is successful.
- {@link IMAGE_RESULT_BAD_PARAMETER}: A parameter is incorrect.
- {@link IMAGE_RESULT_JNI_ENV_ABNORMAL}: The JNI environment is abnormal.
- {@link IMAGE_RESULT_INVALID_PARAMETER}: A parameter is invalid.
- {@link IMAGE_RESULT_DATA_ABNORMAL}: The image input data is incorrect.
- {@link IMAGE_RESULT_DATA_UNSUPPORT}: The attribute is invalid or the image data is not supported.