Skip to content

Commit

Permalink
Additional service and SC manager flags
Browse files Browse the repository at this point in the history
  • Loading branch information
NuSkooler committed Jan 16, 2024
1 parent 96bebe1 commit 5a62522
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ bitflags::bitflags! {

/// Can use user-defined control codes
const USER_DEFINED_CONTROL = Services::SERVICE_USER_DEFINED_CONTROL;

/// Full access to the service object
const ALL_ACCESS = Services::SERVICE_ALL_ACCESS;
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/service_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ bitflags::bitflags! {

/// Can enumerate services or receive notifications.
const ENUMERATE_SERVICE = Services::SC_MANAGER_ENUMERATE_SERVICE;

const ALL_ACCESS = Services::SC_MANAGER_ALL_ACCESS;
}
}

Expand Down

0 comments on commit 5a62522

Please sign in to comment.