Function ohos_sys::native_buffer::OH_NativeBuffer_GetConfig

source ยท
pub unsafe extern "C" fn OH_NativeBuffer_GetConfig(
    buffer: *mut OH_NativeBuffer,
    config: *mut OH_NativeBuffer_Config,
)
Available on crate feature native_buffer only.
Expand description

@brief Return a config of the OH_NativeBuffer in the passed OHNativeBufferConfig struct.

@syscap SystemCapability.Graphic.Graphic2D.NativeBuffer @param buffer Indicates the pointer to a OH_NativeBuffer instance. @param config Indicates the pointer to the NativeBufferConfig of the buffer. @return void @since 9 @version 1.0