---
title: 设置数据传输
description: "设置数据传输模式。"
url: https://www.hikunpeng.com/document/detail/zh/hpchistory/hpckit/develop2400/userg_hyperio_0110.html
sourcePath: /source/zh/hpchistory/hpckit/develop2400/userg_hyperio_0110.html
indexId: 623c6a412fdf907a44053f09e00fe47db92032df118fd238dfe9c5bdbddc307964
---
# 设置数据传输

#### 函数定义

设置数据传输模式。

herr_t H5Pset_dxpl_mpio( hid_t propertylisId, H5FD_mpio_xfer_t xferMode )


#### 参数

| 参数名 | 描述 | 取值范围 | 输入/输出 |
| --- | --- | --- | --- |
| propertylisId | 数据传输属性列表标识符。 | 整数 | 输入 |
| xferMode | 传输模式。 | 非空 | 输入 |


#### 返回值

- 成功：返回非负值。
- 失败：返回负值。
