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

@brief Decreases the reference count of a OHNativeWindowBuffer 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 buffer Indicates the pointer to a OHNativeWindowBuffer instance. @since 8 @version 1.0