Skip to main content

OH_NativeWindow_DestroyNativeWindow

Function OH_NativeWindow_DestroyNativeWindow 

Source
pub unsafe extern "C" fn OH_NativeWindow_DestroyNativeWindow(
    window: *mut OHNativeWindow,
)
Expand description

@brief Decreases the reference count of a OHNativeWindow instance by 1, and when the reference count reaches 0, destroys the instance.\n This interface is a non-thread-safe type interface.\n

@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param window Indicates the pointer to a OHNativeWindow instance. @since 8 @version 1.0