pub unsafe extern "C" fn OH_NativeWindow_DestroyNativeWindowBuffer(
buffer: *mut NativeWindowBuffer,
)Available on crate feature
native_window only.Expand description
Decreases the reference count of a OHNativeWindowBuffer 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
buffer- Indicates the pointer to a OHNativeWindowBuffer instance.
Available since API-level: 8
Version: 1.0