Skip to content

Latest commit

 

History

History
78 lines (61 loc) · 1.75 KB

nf-enclaveapi-loadenclaveimagea.md

File metadata and controls

78 lines (61 loc) · 1.75 KB
UID tech.root title ms.date targetos description req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:enclaveapi.LoadEnclaveImageA
base
LoadEnclaveImageA
04/14/2021
Windows
Loads an image and all of its imports into an enclave. (ANSI)
function
kernel32.dll; Api-ms-win-core-enclave-l1-1-0.dll
enclaveapi.h
onecore.lib
Windows 10, version 1709 [desktop apps only]
Windows Server 2016 [desktop apps only]
Windows
apiref
DllExport
kernel32.dll
api-ms-win-core-enclave-l1-1-0.dll
LoadEnclaveImageA
LoadEnclaveImage
LoadEnclaveImageA
enclaveapi/LoadEnclaveImageA
LoadEnclaveImage
enclaveapi/LoadEnclaveImage
c++

LoadEnclaveImageA function

-description

Loads an image and all of its imports into an enclave.

-parameters

-param lpEnclaveAddress [in]

The base address of the image into which to load the image.

-param lpImageName [in]

A NULL-terminated string that contains the name of the image to load.

-returns

TRUE if the function succeeds; otherwise FALSE.

To get extended error information, call GetLastError.

-remarks

LoadEnclaveImage is only supported enclaves that have the ENCLAVE_TYPE_VBS enclave type.

-see-also

Enclave functions

CreateEnclave

InitializeEnclave