Sha256: 6585d8016bcce106c61a93ffef27d292d194390014f572f39e11108c9237fc7c

Contents?: true

Size: 873 Bytes

Versions: 38

Compression:

Stored size: 873 Bytes

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::minwindef::{BOOL, PUSHORT};
use um::winnt::{GROUP_AFFINITY, HANDLE, PGROUP_AFFINITY};
extern "system" {
    pub fn GetProcessGroupAffinity(
        hProcess: HANDLE,
        GroupCount: PUSHORT,
        GroupArray: PUSHORT,
    ) -> BOOL;
    pub fn GetThreadGroupAffinity(
        hThread: HANDLE,
        GroupAffinity: PGROUP_AFFINITY,
    ) -> BOOL;
    pub fn SetThreadGroupAffinity(
        hThread: HANDLE,
        GroupAffinity: *const GROUP_AFFINITY,
        PreviousGroupAffinity: PGROUP_AFFINITY,
    ) -> BOOL;
}

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-14.0.3 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-14.0.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-14.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-13.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-12.0.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-12.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-11.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-10.0.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-10.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-9.0.4 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-9.0.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-8.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-7.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-6.0.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-6.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-5.0.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-0.4.1 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs
wasmtime-0.4.0 ./ext/cargo-vendor/winapi-0.3.9/src/um/processtopologyapi.rs