pub unsafe extern "C" fn OH_NativeWindow_CreateNativeWindowBufferFromSurfaceBuffer(
pSurfaceBuffer: *mut c_void,
) -> *mut OHNativeWindowBufferExpand description
@brief Creates a OHNativeWindowBuffer instance. A new OHNativeWindowBuffer instance is created each time this function is called.
@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param pSurfaceBuffer Indicates the pointer to a produce buffer. The type is sptrOHOS::SurfaceBuffer. @return Returns the pointer to the OHNativeWindowBuffer instance created. @since 8 @version 1.0 @deprecated since 12 @useinstead OH_NativeWindow_CreateNativeWindowBufferFromNativeBuffer