Skip to main content

OH_DecodingOptions_GetIndex

Function OH_DecodingOptions_GetIndex 

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

@brief Get index number for OH_DecodingOptions struct.

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