Beispiel #1
0
 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);
Beispiel #2
0
 private protected NtEnclave(SafeEnclaveHandle handle, LdrEnclaveType type)
 {
     _handle = handle;
     Type    = type;
 }