Skip to main content

OH_NativeBuffer_Unmap

Function OH_NativeBuffer_Unmap 

Source
pub unsafe extern "C" fn OH_NativeBuffer_Unmap(
    buffer: *mut OH_NativeBuffer,
) -> i32
Expand description

@brief Remove direct cpu access ability of the OH_NativeBuffer in the process’s address space.\n This interface is a non-thread-safe type interface.\n

@syscap SystemCapability.Graphic.Graphic2D.NativeBuffer @param buffer Indicates the pointer to a OH_NativeBuffer instance. @return Returns an error code, 0 is success, otherwise, failed. @since 9 @version 1.0