Skip to main content

OH_NativeWindow_CreateNativeWindow

Function OH_NativeWindow_CreateNativeWindow 

Source
pub unsafe extern "C" fn OH_NativeWindow_CreateNativeWindow(
    pSurface: *mut c_void,
) -> *mut OHNativeWindow
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 @deprecated since 12