Skip to content

Conversation

@riverar
Copy link
Contributor

@riverar riverar commented Nov 26, 2025

Updated the documentation for the InitializeEnclave function to callout ERROR_MOD_NOT_FOUND scenario and requirement to ensure vertdll is in enclave dll IAT.

Updated the documentation for the InitializeEnclave function to callout `ERROR_MOD_NOT_FOUND` scenario and requirement to ensure vertdll is in enclave dll IAT.
@prmerger-automator
Copy link

@riverar : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

| **ERROR_ENCLAVE_FAILURE** | An failure specific to the underlying enclave architecture occurred. The value for the *lpEnclaveError* parameter contains the architecture-specific error.<br/><br/>For the **ENCLAVE_TYPE_SGX** and **ENCLAVE_TYPE_SGX2** enclave types, the EINIT instruction that the [ENCLAVE_INIT_INFO_SGX](../winnt/ns-winnt-enclave_init_info_sgx.md) structure specified generated an error. The value of the *lpEnclaveError* parameter contains the error that the instruction generated. |
| **ERROR_BAD_LENGTH** | The value of the *dwInfoLength* parameter did not match the value expected based on the value specified for the *lpEnclaveInformation* parameter. |
| **ERROR_RETRY** | The processor was not able to initialize the enclave in a timely fashion. Try to initialize the enclave again. |
| **ERROR_MOD_NOT_FOUND** | The vertdll.dll module was not found loaded in the enclave. Ensure the enclave DLL calls at least one vertdll.dll API. |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Struggled to find a consumer-friendly way to describe the DLL must be present in the Enclave DLL's import table so that it is loaded/available.

@alvinashcraft
Copy link
Contributor

Thanks, @riverar. I've added @CodeMaxx from the engineering side to make sure this sounds good to him.

This PR may get re-assigned to another writer from the team. I'm moving to the Microsoft Foundry docs team this week, but I'm trying to help wrap up as much of my open work as possible during the transition.

@riverar
Copy link
Contributor Author

riverar commented Nov 26, 2025

Thanks @alvinashcraft no worries. There's an open team discussion here microsoft/VbsEnclaveTooling#148 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants