Skip to main content

OH_DecodingOptionsForPicture_Create

Function OH_DecodingOptionsForPicture_Create 

Source
pub unsafe extern "C" fn OH_DecodingOptionsForPicture_Create(
    options: *mut *mut OH_DecodingOptionsForPicture,
) -> ImageResult
Available on crate features api-12 and image-source and api-13 only.
Expand description

Create a pointer for OH_DecodingOptionsForPicture struct.

§Arguments

  • options - The OH_DecodingOptionsForPicture pointer will be operated.

§Returns

  • Image functions result code. [IMAGE_SUCCESS] if the execution is successful. [IMAGE_BAD_PARAMETER] options is nullptr.

Available since API-level: 13