OH_NativeWindow_DestroyNativeWindow

Function OH_NativeWindow_DestroyNativeWindow 

Source
pub unsafe extern "C" fn OH_NativeWindow_DestroyNativeWindow(
    window: *mut NativeWindow,
)
Available on crate feature native_window only.
Expand description

Decreases the reference count of a OHNativeWindow instance by 1, and when the reference count reaches 0, destroys the instance.

This interface is a non-thread-safe type interface.

Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeWindow

ยงArguments

  • window - Indicates the pointer to a OHNativeWindow instance.

Available since API-level: 8

Version: 1.0