---
title: TEEC_InitializeContext
description: "TEEC_InitializeContext(const char *name, TEEC_Context *context)"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcctrustzone/trustzone/devpg-tzrsademo/kunpengtrustzone_16_0021.html
sourcePath: /source/zh/kunpengcctrustzone/trustzone/devpg-tzrsademo/kunpengtrustzone_16_0021.html
indexId: bee64fb12e6cee3c59c6a1ea6ae52ab8e09bc74a4bbda6135adee3249163a5bb85
---
# TEEC_InitializeContext

#### 接口格式

TEEC_InitializeContext(const char *name, TEEC_Context *context)


#### 功能描述

初始化TEE环境。


#### 参数说明

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