Skip to main content

OH_ImageSourceInfo_GetHeight

Function OH_ImageSourceInfo_GetHeight 

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

@brief Get height number for OH_ImageSource_Info struct.

@param info The OH_ImageSource_Info pointer will be operated. @param height the number of image height. @return Returns one of the following result codes: {@link IMAGE_SUCCESS} if the execution is successful. {@link IMAGE_BAD_PARAMETER} info is nullptr, or height is nullptr. @since 12