Skip to main content

OH_PixelmapImageInfo_GetWidth

Function OH_PixelmapImageInfo_GetWidth 

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

@brief Get width number for imageinfo struct.

@param info The imageinfo pointer will be operated. @param width The number of imageinfo width. @return Function result code: {@link IMAGE_SUCCESS} - if the operation is successful. {@link IMAGE_BAD_PARAMETER} - if info or width is null. @since 12