Skip to main content

OH_DecodingOptions_SetIndex

Function OH_DecodingOptions_SetIndex 

Source
pub unsafe extern "C" fn OH_DecodingOptions_SetIndex(
    options: *mut OH_DecodingOptions,
    index: u32,
) -> Image_ErrorCode
Expand description

@brief Sets the index for an image.

@param options Pointer to an OH_DecodingOptions object. @param index Index of the image. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} options is nullptr. @since 12