ENCLAVE_INFORMATION structure (ntenclv.h)

Contains information about the currently executing enclave.

Syntax

typedef struct ENCLAVE_INFORMATION {
  ULONG            EnclaveType;
  ULONG            Reserved;
  PVOID            BaseAddress;
  SIZE_T           Size;
  ENCLAVE_IDENTITY Identity;
} ENCLAVE_INFORMATION;

Members

EnclaveType

The architecture type of the enclave.

Value Meaning
ENCLAVE_TYPE_SGX
0x00000001
An enclave for the Intel Software Guard Extensions (SGX) architecture extension.
ENCLAVE_TYPE_SGX2
0x00000002
Supports SGX2 and SGX1 enclaves. The platform and OS support SGX2 instructions with EDMM on this platform (in addition to other SGX2 constructs).
ENCLAVE_TYPE_VBS
0x00000010
A VBS enclave.

Reserved

Reserved.

BaseAddress

A pointer to the base address of the enclave.

Size

The size of the enclave, in bytes.

Identity

The identity of the primary module of an enclave.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1709 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header ntenclv.h

See also

Enclave Structures

ENCLAVE_IDENTITY

EnclaveGetEnclaveInformation