public static extern NtStatus LdrCreateEnclave( SafeKernelObjectHandle ProcessHandle, ref IntPtr BaseAddress, IntPtr ZeroBits, IntPtr Size, IntPtr InitialCommitment, LdrEnclaveType EnclaveType, SafeBuffer EnclaveInformation, int EnclaveInformationLength, out int EnclaveError);
private protected NtEnclave(SafeEnclaveHandle handle, LdrEnclaveType type) { _handle = handle; Type = type; }