Skip to main content

OH_PixelmapInitializationOptions_GetPixelFormat

Function OH_PixelmapInitializationOptions_GetPixelFormat 

Source
pub unsafe extern "C" fn OH_PixelmapInitializationOptions_GetPixelFormat(
    options: *mut OH_Pixelmap_InitializationOptions,
    pixelFormat: *mut i32,
) -> Image_ErrorCode
Expand description

@brief Get pixelFormat number for InitializationOtions struct.

@param options The InitializationOtions pointer will be operated. @param pixelFormat the number of image pixelFormat. @return Function result code: {@link IMAGE_SUCCESS} - if the operation is successful. {@link IMAGE_BAD_PARAMETER} - if options or pixelFormat is null. @since 12