1e41f4b71Sopenharmony_ci# hiappevent_param.h
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ci## Overview
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ciDefines the names of all predefined event parameters.
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ciIn addition to custom events associated with specific applications, you can use predefined events for logging.
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ciExample:
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci```
13e41f4b71Sopenharmony_ciParamList list = OH_HiAppEvent_CreateParamList();
14e41f4b71Sopenharmony_ciOH_HiAppEvent_AddInt32Param(list, PARAM_USER_ID, 123);
15e41f4b71Sopenharmony_ciint res = OH_HiAppEvent_Write("user_domain", EVENT_USER_LOGIN, BEHAVIOR, list);
16e41f4b71Sopenharmony_ciOH_HiAppEvent_DestroyParamList(list);
17e41f4b71Sopenharmony_ci```
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci**Since**: 8
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci**Related module**: [HiAppEvent](_hi_app_event.md)
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci## Summary
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci### Macros
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ci| Name| Description| 
30e41f4b71Sopenharmony_ci| -------- | -------- |
31e41f4b71Sopenharmony_ci| [PARAM_USER_ID](_hi_app_event.md#param_user_id)   "user_id" | User ID.| 
32e41f4b71Sopenharmony_ci| [PARAM_DISTRIBUTED_SERVICE_NAME](_hi_app_event.md#param_distributed_service_name)   "ds_name" | Distributed service name.| 
33e41f4b71Sopenharmony_ci| [PARAM_DISTRIBUTED_SERVICE_INSTANCE_ID](_hi_app_event.md#param_distributed_service_instance_id)   "ds_instance_id" | Distributed service instance ID.| 
34