pub unsafe extern "C" fn OH_DecodingOptions_GetIndex(
options: *mut OH_DecodingOptions,
index: *mut u32,
) -> Image_ErrorCodeExpand description
@brief Obtains the index of an image.
@param options Pointer to an OH_DecodingOptions object.
@param index Pointer to the index of the image.
@return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} options is nullptr, or index is nullptr.
@since 12