pub unsafe extern "C" fn OH_ImageSourceNative_CreateFromRawFile(
rawFile: *mut RawFileDescriptor,
res: *mut *mut OH_ImageSourceNative,
) -> Image_ErrorCodeExpand description
@brief Creates the pointer to an OH_ImageSourceNative object by using the raw file descriptor of an image resource file.
@param rawFile Pointer to the file descriptor of the raw file.
@param res Double pointer to the OH_ImageSourceNative object created at the C++ local layer.
@return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} if rawFile is a null pointer.
@since 12