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
| Name | typedef Keyword | Description |
|---|---|---|
| DDK_Ashmem | DDK_Ashmem | Device memory map created by calling OH_DDK_CreateAshmem. A buffer using the device memory map can provide better performance. |
Enums
| Name | typedef Keyword | Description |
|---|---|---|
| DDK_RetCode | DDK_RetCode | Enumerates 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
| Enum | Description |
|---|---|
| DDK_SUCCESS = 0 | Operation success. |
| DDK_FAILURE = 28600001 | Operation failed. |
| DDK_INVALID_PARAMETER = 28600002 | Invalid parameter. |
| DDK_INVALID_OPERATION = 28600003 | Invalid operation. |
| DDK_NULL_PTR = 28600004 | Null pointer. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-request
openharmony 鸿蒙 capi-usbddk-usbconfigdescriptor
openharmony 鸿蒙 capi-hidddk-hid-absaxesarray
openharmony 鸿蒙 capi-scsiperipheralddk-scsiperipheral-response
openharmony 鸿蒙 capi-scsi-peripheral-api-h
openharmony 鸿蒙 capi-hidddk-hid-relaxesarray