pub unsafe extern "C" fn OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffer(
nativeBuffer: *mut OH_NativeBuffer,
) -> *mut OHNativeWindowBufferExpand description
@brief Creates a OHNativeWindowBuffer instance.\n A new OHNativeWindowBuffer instance is created each time this function is called.\n This interface needs to be used in conjunction with OH_NativeWindow_DestroyNativeWindowBuffer, otherwise memory leaks will occur.\n This interface is a non-thread-safe type interface.\n
@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param nativeBuffer Indicates the pointer to a native buffer. The type is OH_NativeBuffer*. @return Returns the pointer to the OHNativeWindowBuffer instance created. @since 11 @version 1.0