1# os_account_common.h 2 3## Overview 4 5Defines common types used in **OsAccount** APIs. 6 7**Library**: libos_account_ndk.so 8 9**Header file**: <BasicServicesKit/os_account_common.h> 10 11**System capability**: SystemCapability.Account.OsAccount 12 13**Since**: 12 14 15**Related module**: [OsAccount](capi-osaccount.md) 16 17## Summary 18 19### Enums 20 21| Name| typedef Keyword| Description| 22| -- | -- | -- | 23| [OsAccount_ErrCode](#osaccount_errcode) | OsAccount_ErrCode | Enumerates the error codes.| 24 25## Enum Description 26 27### OsAccount_ErrCode 28 29``` 30enum OsAccount_ErrCode 31``` 32 33**Description** 34 35Enumerates the error codes. 36 37**Since**: 12 38 39| Enum Item| Description| 40| -- | -- | 41| OS_ACCOUNT_ERR_OK = 0 | Success.| 42| OS_ACCOUNT_ERR_INTERNAL_ERROR = 12300001 | Internal error.| 43| OS_ACCOUNT_ERR_INVALID_PARAMETER = 12300002 | Invalid parameter.| 44