Skip to main content

OH_NativeWindow_DestroyNativeWindowBuffer

Function OH_NativeWindow_DestroyNativeWindowBuffer 

Source
pub unsafe extern "C" fn OH_NativeWindow_DestroyNativeWindowBuffer(
    buffer: *mut OHNativeWindowBuffer,
)
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