aboutsummaryrefslogtreecommitdiff
path: root/vendor/winapi/src/um/enclaveapi.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-07-19 15:37:58 +0300
committerValentin Popov <valentin@popov.link>2024-07-19 15:37:58 +0300
commita990de90fe41456a23e58bd087d2f107d321f3a1 (patch)
tree15afc392522a9e85dc3332235e311b7d39352ea9 /vendor/winapi/src/um/enclaveapi.rs
parent3d48cd3f81164bbfc1a755dc1d4a9a02f98c8ddd (diff)
downloadfparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.tar.xz
fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.zip
Deleted vendor folder
Diffstat (limited to 'vendor/winapi/src/um/enclaveapi.rs')
-rw-r--r--vendor/winapi/src/um/enclaveapi.rs64
1 files changed, 0 insertions, 64 deletions
diff --git a/vendor/winapi/src/um/enclaveapi.rs b/vendor/winapi/src/um/enclaveapi.rs
deleted file mode 100644
index b2da8e1..0000000
--- a/vendor/winapi/src/um/enclaveapi.rs
+++ /dev/null
@@ -1,64 +0,0 @@
-// Licensed under the Apache License, Version 2.0
-// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
-// All files in the project carrying such notice may not be copied, modified, or distributed
-// except according to those terms.
-use shared::basetsd::{PSIZE_T, SIZE_T};
-use shared::minwindef::{BOOL, DWORD, LPCVOID, LPDWORD, LPVOID};
-use shared::ntdef::{HANDLE};
-use um::minwinbase::LPENCLAVE_ROUTINE;
-use um::winnt::{LPCSTR, LPCWSTR};
-extern "system" {
- pub fn IsEnclaveTypeSupported(
- flEnclaveType: DWORD,
- ) -> BOOL;
- pub fn CreateEnclave(
- hProcess: HANDLE,
- lpAddress: LPVOID,
- dwSize: SIZE_T,
- dwInitialCommitment: SIZE_T,
- flEnclaveType: DWORD,
- lpEnclaveInformation: LPCVOID,
- dwInfoLength: DWORD,
- lpEnclaveError: LPDWORD,
- ) -> LPVOID;
- pub fn LoadEnclaveData(
- hProcess: HANDLE,
- lpAddress: LPVOID,
- lpBuffer: LPCVOID,
- nSize: SIZE_T,
- flProtect: DWORD,
- lpPageInformation: LPCVOID,
- dwInfoLength: DWORD,
- lpNumberOfBytesWritten: PSIZE_T,
- lpEnclaveError: LPDWORD,
- ) -> BOOL;
- pub fn InitializeEnclave(
- hProcess: HANDLE,
- lpAddress: LPVOID,
- lpEnclaveInformation: LPCVOID,
- dwInfoLength: DWORD,
- lpEnclaveError: LPDWORD,
- ) -> BOOL;
- pub fn LoadEnclaveImageA(
- lpEnclaveAddress: LPVOID,
- lpImageName: LPCSTR,
- ) -> BOOL;
- pub fn LoadEnclaveImageW(
- lpEnclaveAddress: LPVOID,
- lpImageName: LPCWSTR,
- ) -> BOOL;
- pub fn CallEnclave(
- lpRoutine: LPENCLAVE_ROUTINE,
- lpParameter: LPVOID,
- fWaitForThread: BOOL,
- lpReturnValue: *mut LPVOID,
- ) -> BOOL;
- pub fn TerminateEnclave(
- lpAddress: LPVOID,
- fWait: BOOL,
- ) -> BOOL;
- pub fn DeleteEnclave(
- lpAddress: LPVOID,
- ) -> BOOL;
-}