pub unsafe extern "C" fn OH_NativeImage_AcquireNativeWindow(
image: *mut OH_NativeImage,
) -> *mut NativeWindowAvailable on crate feature
native_image only.Expand description
Acquire the OHNativeWindow for the OH_NativeImage.
This interface is a non-thread-safe type interface.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeImage
§Arguments
image- Indicates the pointer to a OH_NativeImage instance.
§Returns
- Returns the pointer to the OHNativeWindow if the operation is successful, returns NULL otherwise.
Available since API-level: 9
Version: 1.0