pub unsafe extern "C" fn OH_NativeWindow_CreateNativeWindow(
    pSurface: *mut c_void,
) -> *mut OHNativeWindow
Available on crate feature native_window only.
Expand description

@brief Creates a OHNativeWindow instance. A new OHNativeWindow instance is created each time this function is called.

@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param pSurface Indicates the pointer to a ProduceSurface. The type is a pointer to sptrOHOS::Surface. @return Returns the pointer to the OHNativeWindow instance created. @since 8 @version 1.0