pub unsafe extern "C" fn OH_ImageSourceNative_GetFrameCount(
source: *mut OH_ImageSourceNative,
frameCount: *mut u32,
) -> Image_ErrorCodeExpand description
@brief Obtains the number of image frames.
@param source Pointer to an OH_ImageSourceNative object.
@param frameCount Indicates a pointer to the number of frames obtained.
@return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} source is nullptr, or frameCount is nullptr.
@since 12