Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zaddach committed Oct 23, 2024
1 parent f4d0fc1 commit bee60a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sc_handle.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use windows_sys::Win32::System::Services;

/// A handle holder that wraps a low level [`Security::SC_HANDLE`].
/// A handle holder that wraps a low level [`Services::SC_HANDLE`].
pub(crate) struct ScHandle(Services::SC_HANDLE);

impl ScHandle {
pub(crate) unsafe fn new(handle: Services::SC_HANDLE) -> Self {
ScHandle(handle)
}

/// Returns underlying [`Security::SC_HANDLE`].
/// Returns underlying [`Services::SC_HANDLE`].
pub(crate) fn raw_handle(&self) -> Services::SC_HANDLE {
self.0
}
Expand Down

0 comments on commit bee60a7

Please sign in to comment.