Sha256: 25c4f026ece797f73dc5fca45d965f220c62de94056c8e137b2cdf6e7db1e403

Contents?: true

Size: 1.94 KB

Versions: 38

Compression:

Stored size: 1.94 KB

Contents

// 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;
}

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-28.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-27.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-26.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-25.0.2 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-25.0.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-25.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-24.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-23.0.2 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-22.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-21.0.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-20.0.2 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-20.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-18.0.3 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-17.0.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-17.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-16.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-15.0.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-15.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs
wasmtime-14.0.4 ./ext/cargo-vendor/winapi-0.3.9/src/um/enclaveapi.rs