Skip to main content

OH_PixelmapNative_Release

Function OH_PixelmapNative_Release 

Source
pub unsafe extern "C" fn OH_PixelmapNative_Release(
    pixelmap: *mut OH_PixelmapNative,
) -> Image_ErrorCode
Expand description

@brief Releases an OH_Pixelmap object.

@param pixelmap The Pixelmap pointer will be operated. @return Function result code: {@link IMAGE_SUCCESS} - if the operation is successful. {@link IMAGE_BAD_PARAMETER} - if either: 1.Pixelmap is nullptr. 2.It’s inner pixelmap is nullptr. 3.Pixelmap is not allowed to release. @since 12