Skip to main content

OH_PixelmapImageInfo_Create

Function OH_PixelmapImageInfo_Create 

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

@brief Create imageinfo struct .

@param info The imageinfo pointer will be operated. @return Function result code: {@link IMAGE_SUCCESS} - if the operation is successful. {@link IMAGE_BAD_PARAMETER} - Parameter is nullptr or create OH_Pixelmap_ImageInfo object failed. @since 12