Skip to main content

OH_ImageSourceInfo_Create

Function OH_ImageSourceInfo_Create 

Source
pub unsafe extern "C" fn OH_ImageSourceInfo_Create(
    info: *mut *mut OH_ImageSource_Info,
) -> Image_ErrorCode
Expand description

@brief Creates the pointer to an OH_ImageSource_Info object.

@param info Double pointer to the OH_ImageSource_Info object created. @return

  • {@link IMAGE_SUCCESS} if the execution is successful.
  • {@link IMAGE_BAD_PARAMETER} info is nullptr.
@release image_source_native/OH_ImageSourceInfo_Release {info} @since 12