pub unsafe extern "C" fn OH_NativeBuffer_FromNativeWindowBuffer(
nativeWindowBuffer: *mut OHNativeWindowBuffer,
buffer: *mut *mut OH_NativeBuffer,
) -> i32Expand description
@brief Converts an OHNativeWindowBuffer instance to an OH_NativeBuffer.\n This interface is a non-thread-safe type interface.\n
@syscap SystemCapability.Graphic.Graphic2D.NativeBuffer @param nativeWindowBuffer Indicates the pointer to a OHNativeWindowBuffer instance. @param buffer Indicates the pointer to a OH_NativeBuffer pointer. @return Returns an error code, 0 is success, otherwise, failed. @since 12 @version 1.0