pub unsafe extern "C" fn OH_NativeWindow_GetBufferHandleFromNative(
    buffer: *mut OHNativeWindowBuffer,
) -> *mut BufferHandle
Available on crate feature native_window only.
Expand description

@brief Obtains the pointer to a BufferHandle of a OHNativeWindowBuffer instance.

@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param buffer Indicates the pointer to a OHNativeWindowBuffer instance. @return Returns the pointer to the BufferHandle instance obtained. @since 8 @version 1.0