---
title: EndPointLocType
description: "定义通信设备Endpoint的位置。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/programug/commopdev/hcclopdevapi_07_0015.html
sourcePath: /source/zh/canncommercial/900/programug/commopdev/hcclopdevapi_07_0015.html
indexId: 61762321ba56004dee23b05b57c717235f8ce8c247d94823f73734362a178b5175
---
# EndPointLocType

#### 功能说明

定义通信设备Endpoint的位置。


#### 定义原型

```
typedef enum {
ENDPOINT_LOC_TYPE_RESERVED = -1,  /* 保留的Endpoint位置 */
ENDPOINT_LOC_TYPE_DEVICE = 0,     /* Endpoint在Device上 */
ENDPOINT_LOC_TYPE_HOST = 1,       /* Endpoint在Host上 */
} EndpointLocType;
```
