---
title: TEEC_InitializeContext
description: "TEEC_InitializeContext(const char *name, TEEC_Context *context)"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2400/confidt/kunpengtrustzone_16_0021.html
sourcePath: /source/zh/kunpengboostkithistory/2400/confidt/kunpengtrustzone_16_0021.html
indexId: 2863a958f3c45fd0ca63727b945021200c67c04b22c97c9026687afa920b526576
---
# TEEC_InitializeContext

#### 接口格式

TEEC_InitializeContext(const char *name, TEEC_Context *context)


#### 功能描述

初始化TEE环境。


#### 参数说明

- name：指定需要连接的TEE，一般为空，此时连接默认的TEE。
- context：TEEC_Context类型数据，存储某个TEE上下文信息。
