openharmony 鸿蒙 capi-ddk-types-h

2026-08-25 浏览 (1)

ddk_types.h

Overview

Provides BASE DDK types and declares the macros, enums, and data structures required by the BASE DDK APIs.

Header file: <ddk/ddk_types.h>

Library: libddk_base.z.so

System capability: SystemCapability.Driver.DDK.Extension

Since: 12

Related module: Ddk

Summary

Structs

Nametypedef KeywordDescription
DDK_AshmemDDK_AshmemDevice memory map created by calling OH_DDK_CreateAshmem. A buffer using the device memory map can provide better performance.

Enums

Nametypedef KeywordDescription
DDK_RetCodeDDK_RetCodeEnumerates error codes used in the BASE DDK.

Enum Description

DDK_RetCode

enum DDK_RetCode

Description

Enumerates error codes used in the BASE DDK.

Since: 12

EnumDescription
DDK_SUCCESS = 0Operation success.
DDK_FAILURE = 28600001Operation failed.
DDK_INVALID_PARAMETER = 28600002Invalid parameter.
DDK_INVALID_OPERATION = 28600003Invalid operation.
DDK_NULL_PTR = 28600004Null pointer.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-request

openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor

openharmony 鸿蒙 capi-hidddk

openharmony 鸿蒙 capi-usbddk

openharmony 鸿蒙 capi-hidddk-hid-absaxesarray

openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-response

openharmony 鸿蒙 capi-scsi-peripheral-api-h

openharmony 鸿蒙 capi-hidddk-hid-relaxesarray

openharmony 鸿蒙 js-apis-driver-deviceManager

openharmony 鸿蒙 capi-hidddk-hid-eventtypearray

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/ObKhLnyk