Skip to main content

OH_DecodingOptions_SetDesiredSize

Function OH_DecodingOptions_SetDesiredSize 

Source
pub unsafe extern "C" fn OH_DecodingOptions_SetDesiredSize(
    options: *mut OH_DecodingOptions,
    desiredSize: *mut Image_Size,
) -> Image_ErrorCode
Expand description

@brief Set desiredSize number for OH_DecodingOptions struct.

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