## **Overview**
**Related Modules:**
[Core](Core.md)
**Description:**
Declares functions related to driver loading, service obtaining, and power management.
**Since:**
1.0
## **Summary**
## Data Structures
## Macros
MAX_PRIORITY_NUM 200 | The maximum priority for loading the host and device. |
HDF_INIT(module) HDF_DRIVER_INIT(module) | Registers the driver with the HDF. |
## Enumerations
ServicePolicy { SERVICE_POLICY_NONE = 0, SERVICE_POLICY_PUBLIC, SERVICE_POLICY_CAPACITY, SERVICE_POLICY_FRIENDLY, SERVICE_POLICY_PRIVATE, SERVICE_POLICY_INVALID } | Enumerates policies for releasing driver services developed based on the HDF. |
DevicePreload { DEVICE_PRELOAD_ENABLE = 0, DEVICE_PRELOAD_DISABLE, DEVICE_PRELOAD_INVALID } | Enumerates driver loading policies. |
## Functions
DevSvcManagerClntGetService (const char *svcName) | const struct HdfObject * Obtains the driver service object based on a driver service name. |
HdfDeviceGetServiceName (const struct HdfDeviceObject *deviceObject) | Obtains the service name of a driver. |
HdfDeviceSubscribeService (struct HdfDeviceObject *deviceObject, const char *serviceName, struct SubscriberCallback callback) | Subscribes to a driver service. |
HdfDeviceSendEvent (const struct HdfDeviceObject *deviceObject, uint32_t id, const struct HdfSBuf *data) | |
HdfDeviceSendEventToClient (const struct HdfDeviceIoClient *client, uint32_t id, const struct HdfSBuf *data) | Sends an event message to a specified client object. |