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

#### 接口格式

TEEC_InitializeContext(const char *name, TEEC_Context *context)


#### 功能描述

初始化TEE环境。


#### 参数说明

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