Skip to main content

OH_ImageSourceNative_Release

Function OH_ImageSourceNative_Release 

Source
pub unsafe extern "C" fn OH_ImageSourceNative_Release(
    source: *mut OH_ImageSourceNative,
) -> Image_ErrorCode
Expand description

@brief Releases the pointer to an OH_ImageSourceNative object.

@param source Pointer to an OH_ImageSourceNative object. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} source is nullptr. @since 12