e6c7b439创建于 2024年5月8日历史提交

ddk_api.h

Overview

Declares the BASE DDK APIs used by the host to access the device.

Since

12

Related module

BASE DDK

Summary

Functions

Name Description
OH_DDK_CreateAshmem (const uint8_t *name, DDK_Ashmem **ashmem) Creates an Ashmem object.
OH_DDK_MapAshmem (DDK_Ashmem *ashmem), const uint8_t ashmemMapType) Maps an Ashmem object.
OH_DDK_UnmapAshmem (DDK_Ashmem *ashmem) Unmaps an Ashmem object.
OH_DDK_DestoryAshmem (DDK_Ashmem *ashmem) Destroys an Ashmem object.