IsEnclaveTypeSupported function
Retrieves whether the specified type of enclave is supported.
Syntax
BOOL WINAPI IsEnclaveTypeSupported( _In_ DWORD flEnclaveType );
Parameters
- flEnclaveType [in]
-
The type of enclave to check.
Only a value of ENCLAVE_TYPE_SGX is currently supported, which specifies an enclave for the Intel Software Guard Extensions (SGX) architecture extension.
Return value
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.
For a list of common error codes, see System Error Codes. The following error codes also apply for this function.
| Return code | Description |
|---|---|
|
An unsupported enclave type was specified. |
Requirements
|
Minimum supported client |
Windows 10 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|