Skip to content

Commit

Permalink
remove support for JOBOBJECT_ASSOCIATE_COMPLETION_PORT: pointer/handl…
Browse files Browse the repository at this point in the history
…e-laden (unsound?), we lack I/O completion port handle types or use case
  • Loading branch information
MaulingMonkey committed Sep 5, 2022
1 parent 7981b28 commit 261f0fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/job/job_information.rs
Expand Up @@ -18,9 +18,6 @@ pub trait QueryInformation : Sized { fn
/// SetInformationJobObject parameters
pub trait SetInformation { fn set_on(self, job: &job::OwnedHandle) -> Result<(), Error>; }

impl SetInformation for JOBOBJECT_ASSOCIATE_COMPLETION_PORT { fn set_on(self, job: &job::OwnedHandle) -> Result<(), Error> { unsafe { set(job, JobObjectAssociateCompletionPortInformation, &self) } } }


/// \[[docs.microsoft.com](https://docs.microsoft.com/en-us/windows/win32/api/jobapi2/nf-jobapi2-queryinformationjobobject)\]
/// QueryInformationJobObject
pub(super) unsafe fn query_fixed<T>(job: &job::OwnedHandle, class: JOBOBJECTINFOCLASS) -> Result<T, Error> {
Expand Down

0 comments on commit 261f0fd

Please sign in to comment.