From 0de59e043338975dfb5e7cf9709b92cab91ae112 Mon Sep 17 00:00:00 2001 From: Rodrigo Cesar de Freitas Dias Date: Sun, 11 Feb 2024 15:59:47 -0300 Subject: [PATCH] Cargo doc auto deployment 2024-02-11 15:59:46. --- src/winsafe/kernel/funcs.rs.html | 52 ++++++++++++++++--- src/winsafe/kernel/structs.rs.html | 2 +- src/winsafe/macros/consts.rs.html | 4 +- src/winsafe/oleaut/structs/bstr.rs.html | 4 +- winsafe/co/struct.SE_PRIV.html | 2 +- winsafe/fn.GetPrivateProfileSection.html | 8 ++- winsafe/fn.GetPrivateProfileSectionNames.html | 8 ++- winsafe/fn.GetPrivateProfileString.html | 10 ++-- winsafe/fn.GetSidLengthRequired.html | 2 +- winsafe/fn.GetStartupInfo.html | 2 +- winsafe/fn.GetSystemDirectory.html | 2 +- winsafe/fn.GetSystemFileCacheSize.html | 2 +- winsafe/fn.GetSystemInfo.html | 2 +- winsafe/fn.GetSystemTime.html | 2 +- winsafe/fn.GetSystemTimeAsFileTime.html | 2 +- .../fn.GetSystemTimePreciseAsFileTime.html | 2 +- winsafe/fn.GetSystemTimes.html | 2 +- winsafe/fn.GetTempFileName.html | 2 +- winsafe/fn.GetTempPath.html | 2 +- winsafe/fn.GetTickCount64.html | 2 +- winsafe/fn.GetUserName.html | 2 +- winsafe/fn.GetVolumeInformation.html | 2 +- winsafe/fn.GetVolumePathName.html | 2 +- winsafe/fn.GetWindowsAccountDomainSid.html | 2 +- winsafe/fn.GlobalMemoryStatusEx.html | 2 +- winsafe/fn.HIBYTE.html | 2 +- winsafe/fn.HIDWORD.html | 2 +- winsafe/fn.HIWORD.html | 2 +- winsafe/fn.InitializeSecurityDescriptor.html | 2 +- winsafe/fn.InitiateSystemShutdown.html | 2 +- winsafe/fn.InitiateSystemShutdownEx.html | 2 +- winsafe/fn.IsDebuggerPresent.html | 2 +- winsafe/fn.IsNativeVhdBoot.html | 2 +- winsafe/fn.IsValidSecurityDescriptor.html | 2 +- winsafe/fn.IsValidSid.html | 2 +- winsafe/fn.IsWellKnownSid.html | 2 +- winsafe/fn.IsWindows10OrGreater.html | 2 +- winsafe/fn.IsWindows7OrGreater.html | 2 +- winsafe/fn.IsWindows8OrGreater.html | 2 +- winsafe/fn.IsWindows8Point1OrGreater.html | 2 +- winsafe/fn.IsWindowsServer.html | 2 +- winsafe/fn.IsWindowsVersionOrGreater.html | 2 +- winsafe/fn.IsWindowsVistaOrGreater.html | 2 +- winsafe/fn.LOBYTE.html | 2 +- winsafe/fn.LODWORD.html | 2 +- winsafe/fn.LOWORD.html | 2 +- winsafe/fn.LookupAccountName.html | 2 +- winsafe/fn.LookupAccountSid.html | 2 +- winsafe/fn.LookupPrivilegeName.html | 2 +- winsafe/fn.LookupPrivilegeValue.html | 2 +- winsafe/fn.MAKEDWORD.html | 2 +- winsafe/fn.MAKEQWORD.html | 2 +- winsafe/fn.MAKEWORD.html | 2 +- winsafe/fn.MoveFile.html | 2 +- winsafe/fn.MulDiv.html | 2 +- winsafe/fn.MultiByteToWideChar.html | 2 +- winsafe/fn.OutputDebugString.html | 2 +- winsafe/fn.QueryPerformanceCounter.html | 2 +- winsafe/fn.QueryPerformanceFrequency.html | 2 +- winsafe/fn.ReplaceFile.html | 2 +- winsafe/fn.SetCurrentDirectory.html | 2 +- winsafe/fn.SetFileAttributes.html | 2 +- winsafe/fn.SetLastError.html | 2 +- winsafe/fn.SetThreadStackGuarantee.html | 2 +- winsafe/fn.Sleep.html | 2 +- winsafe/fn.SwitchToThread.html | 2 +- winsafe/fn.SystemTimeToFileTime.html | 2 +- .../fn.SystemTimeToTzSpecificLocalTime.html | 2 +- winsafe/fn.VerSetConditionMask.html | 2 +- winsafe/fn.VerifyVersionInfo.html | 2 +- winsafe/fn.WideCharToMultiByte.html | 2 +- winsafe/fn.WritePrivateProfileString.html | 10 ++-- winsafe/struct.BSTR.html | 2 +- winsafe/struct.WString.html | 2 +- 74 files changed, 144 insertions(+), 86 deletions(-) diff --git a/src/winsafe/kernel/funcs.rs.html b/src/winsafe/kernel/funcs.rs.html index fb7395f1c2..31867c65a1 100644 --- a/src/winsafe/kernel/funcs.rs.html +++ b/src/winsafe/kernel/funcs.rs.html @@ -1958,6 +1958,25 @@

Files

1956 1957 1958 +1959 +1960 +1961 +1962 +1963 +1964 +1965 +1966 +1967 +1968 +1969 +1970 +1971 +1972 +1973 +1974 +1975 +1976 +1977
#![allow(non_snake_case)]
 
 use std::collections::HashMap;
@@ -2670,11 +2689,18 @@ 

Files

/// } /// # Ok::<_, winsafe::co::ERROR>(()) /// ``` +/// +/// # Related functions +/// +/// * [`GetPrivateProfileSectionNames`](crate::GetPrivateProfileSectionNames) +/// * [`GetPrivateProfileString`](crate::GetPrivateProfileString) +/// * [`WritePrivateProfileString`](crate::WritePrivateProfileString) #[must_use] pub fn GetPrivateProfileSection( section_name: &str, file_name: &str, -) -> SysResult<Vec<(String, String)>> { +) -> SysResult<Vec<(String, String)>> +{ let mut buf_sz = SSO_LEN; // start with no string heap allocation loop { let mut buf = WString::new_alloc_buf(buf_sz); @@ -2724,6 +2750,12 @@

Files

/// } /// # Ok::<_, winsafe::co::ERROR>(()) /// ``` +/// +/// # Related functions +/// +/// * [`GetPrivateProfileSection`](crate::GetPrivateProfileSection) +/// * [`GetPrivateProfileString`](crate::GetPrivateProfileString) +/// * [`WritePrivateProfileString`](crate::WritePrivateProfileString) #[must_use] pub fn GetPrivateProfileSectionNames( file_name: Option<&str>, @@ -2753,9 +2785,6 @@

Files

/// [`GetPrivateProfileString`](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getprivateprofilestringw) /// function. /// -/// The related writing function is -/// [`WritePrivateProfileString`](crate::WritePrivateProfileString). -/// /// # Examples /// /// Reading from an INI file: @@ -2773,6 +2802,12 @@

Files

/// println!("{}", val); /// # Ok::<_, winsafe::co::ERROR>(()) /// ``` +/// +/// # Related functions +/// +/// * [`GetPrivateProfileSection`](crate::GetPrivateProfileSection) +/// * [`GetPrivateProfileSectionNames`](crate::GetPrivateProfileSectionNames) +/// * [`WritePrivateProfileString`](crate::WritePrivateProfileString)
#[must_use] pub fn GetPrivateProfileString( section_name: Option<&str>, @@ -3880,9 +3915,6 @@

Files

/// [`WritePrivateProfileString`](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-writeprivateprofilestringw) /// function. /// -/// The related reading function is -/// [`GetPrivateProfileString`](crate::GetPrivateProfileString). -/// /// # Examples /// /// Writing value into an INI file: @@ -3898,6 +3930,12 @@

Files

/// )?; /// # Ok::<_, winsafe::co::ERROR>(()) /// ``` +/// +/// # Related functions +/// +/// * [`GetPrivateProfileSection`](crate::GetPrivateProfileSection) +/// * [`GetPrivateProfileSectionNames`](crate::GetPrivateProfileSectionNames) +/// * [`GetPrivateProfileString`](crate::GetPrivateProfileString)
pub fn WritePrivateProfileString( section_name: &str, key_name: Option<&str>, diff --git a/src/winsafe/kernel/structs.rs.html b/src/winsafe/kernel/structs.rs.html index f7f8f0f03c..d3543d597c 100644 --- a/src/winsafe/kernel/structs.rs.html +++ b/src/winsafe/kernel/structs.rs.html @@ -2308,7 +2308,7 @@

Files

dwSize: u32, cntUsage: u32, pub th32ProcessID: u32, - th32DefaultHeapID: u64, + th32DefaultHeapID: usize, th32ModuleID: u32, pub cntThreads: u32, pub th32ParentProcessID: u32, diff --git a/src/winsafe/macros/consts.rs.html b/src/winsafe/macros/consts.rs.html index 5bd2a9c5dd..fc6ac6fbc5 100644 --- a/src/winsafe/macros/consts.rs.html +++ b/src/winsafe/macros/consts.rs.html @@ -936,8 +936,8 @@

Files

} impl From<$name> for crate::kernel::decl::WString { - fn from(value: $name) -> Self { - crate::kernel::decl::WString::from_str(value.0) + fn from(v: $name) -> Self { + crate::kernel::decl::WString::from_str(v.0) } } diff --git a/src/winsafe/oleaut/structs/bstr.rs.html b/src/winsafe/oleaut/structs/bstr.rs.html index 31fda674fe..fabe7d93e8 100644 --- a/src/winsafe/oleaut/structs/bstr.rs.html +++ b/src/winsafe/oleaut/structs/bstr.rs.html @@ -157,8 +157,8 @@

Files

} impl From<BSTR> for WString { - fn from(value: BSTR) -> WString { - unsafe { WString::from_wchars_nullt(value.as_ptr()) } + fn from(v: BSTR) -> WString { + unsafe { WString::from_wchars_nullt(v.as_ptr()) } } } diff --git a/winsafe/co/struct.SE_PRIV.html b/winsafe/co/struct.SE_PRIV.html index e70073440a..2dd2284ba8 100644 --- a/winsafe/co/struct.SE_PRIV.html +++ b/winsafe/co/struct.SE_PRIV.html @@ -2,7 +2,7 @@

Struct winsafe::co::SE_PRIV

source ·
pub struct SE_PRIV(/* private fields */);
Available on crate feature kernel only.
Expand description

Privilege constants (&'static str).

Originally has SE prefix.

-

Implementations§

source§

impl SE_PRIV

source

pub const CREATE_TOKEN_NAME: Self = _

source

pub const ASSIGNPRIMARYTOKEN_NAME: Self = _

source

pub const LOCK_MEMORY_NAME: Self = _

source

pub const INCREASE_QUOTA_NAME: Self = _

source

pub const UNSOLICITED_INPUT_NAME: Self = _

source

pub const MACHINE_ACCOUNT_NAME: Self = _

source

pub const TCB_NAME: Self = _

source

pub const SECURITY_NAME: Self = _

source

pub const TAKE_OWNERSHIP_NAME: Self = _

source

pub const LOAD_DRIVER_NAME: Self = _

source

pub const SYSTEM_PROFILE_NAME: Self = _

source

pub const SYSTEMTIME_NAME: Self = _

source

pub const PROF_SINGLE_PROCESS_NAME: Self = _

source

pub const INC_BASE_PRIORITY_NAME: Self = _

source

pub const CREATE_PAGEFILE_NAME: Self = _

source

pub const CREATE_PERMANENT_NAME: Self = _

source

pub const BACKUP_NAME: Self = _

source

pub const RESTORE_NAME: Self = _

source

pub const SHUTDOWN_NAME: Self = _

source

pub const DEBUG_NAME: Self = _

source

pub const AUDIT_NAME: Self = _

source

pub const SYSTEM_ENVIRONMENT_NAME: Self = _

source

pub const CHANGE_NOTIFY_NAME: Self = _

source

pub const REMOTE_SHUTDOWN_NAME: Self = _

source

pub const UNDOCK_NAME: Self = _

source

pub const SYNC_AGENT_NAME: Self = _

source

pub const ENABLE_DELEGATION_NAME: Self = _

source

pub const MANAGE_VOLUME_NAME: Self = _

source

pub const IMPERSONATE_NAME: Self = _

source

pub const CREATE_GLOBAL_NAME: Self = _

source

pub const TRUSTED_CREDMAN_ACCESS_NAME: Self = _

source

pub const RELABEL_NAME: Self = _

source

pub const INC_WORKING_SET_NAME: Self = _

source

pub const TIME_ZONE_NAME: Self = _

source

pub const DELEGATE_SESSION_USER_IMPERSONATE_NAME: Self = _

Trait Implementations§

source§

impl Clone for SE_PRIV

source§

fn clone(&self) -> SE_PRIV

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SE_PRIV

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SE_PRIV

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<SE_PRIV> for WString

source§

fn from(value: SE_PRIV) -> Self

Converts to this type from the input type.
source§

impl PartialEq for SE_PRIV

source§

fn eq(&self, other: &SE_PRIV) -> bool

This method tests for self and other values to be equal, and is used +

Implementations§

source§

impl SE_PRIV

source

pub const CREATE_TOKEN_NAME: Self = _

source

pub const ASSIGNPRIMARYTOKEN_NAME: Self = _

source

pub const LOCK_MEMORY_NAME: Self = _

source

pub const INCREASE_QUOTA_NAME: Self = _

source

pub const UNSOLICITED_INPUT_NAME: Self = _

source

pub const MACHINE_ACCOUNT_NAME: Self = _

source

pub const TCB_NAME: Self = _

source

pub const SECURITY_NAME: Self = _

source

pub const TAKE_OWNERSHIP_NAME: Self = _

source

pub const LOAD_DRIVER_NAME: Self = _

source

pub const SYSTEM_PROFILE_NAME: Self = _

source

pub const SYSTEMTIME_NAME: Self = _

source

pub const PROF_SINGLE_PROCESS_NAME: Self = _

source

pub const INC_BASE_PRIORITY_NAME: Self = _

source

pub const CREATE_PAGEFILE_NAME: Self = _

source

pub const CREATE_PERMANENT_NAME: Self = _

source

pub const BACKUP_NAME: Self = _

source

pub const RESTORE_NAME: Self = _

source

pub const SHUTDOWN_NAME: Self = _

source

pub const DEBUG_NAME: Self = _

source

pub const AUDIT_NAME: Self = _

source

pub const SYSTEM_ENVIRONMENT_NAME: Self = _

source

pub const CHANGE_NOTIFY_NAME: Self = _

source

pub const REMOTE_SHUTDOWN_NAME: Self = _

source

pub const UNDOCK_NAME: Self = _

source

pub const SYNC_AGENT_NAME: Self = _

source

pub const ENABLE_DELEGATION_NAME: Self = _

source

pub const MANAGE_VOLUME_NAME: Self = _

source

pub const IMPERSONATE_NAME: Self = _

source

pub const CREATE_GLOBAL_NAME: Self = _

source

pub const TRUSTED_CREDMAN_ACCESS_NAME: Self = _

source

pub const RELABEL_NAME: Self = _

source

pub const INC_WORKING_SET_NAME: Self = _

source

pub const TIME_ZONE_NAME: Self = _

source

pub const DELEGATE_SESSION_USER_IMPERSONATE_NAME: Self = _

Trait Implementations§

source§

impl Clone for SE_PRIV

source§

fn clone(&self) -> SE_PRIV

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SE_PRIV

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SE_PRIV

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<SE_PRIV> for WString

source§

fn from(v: SE_PRIV) -> Self

Converts to this type from the input type.
source§

impl PartialEq for SE_PRIV

source§

fn eq(&self, other: &SE_PRIV) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<&str> for SE_PRIV

§

type Error = ERROR

The type returned in the event of a conversion error.
source§

fn try_from(value: &str) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for SE_PRIV

source§

impl Eq for SE_PRIV

source§

impl NativeStrConst for SE_PRIV

source§

impl StructuralPartialEq for SE_PRIV

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/winsafe/fn.GetPrivateProfileSection.html b/winsafe/fn.GetPrivateProfileSection.html index 50e2feea6e..6824804244 100644 --- a/winsafe/fn.GetPrivateProfileSection.html +++ b/winsafe/fn.GetPrivateProfileSection.html @@ -1,5 +1,5 @@ GetPrivateProfileSection in winsafe - Rust -
pub fn GetPrivateProfileSection(
+    
pub fn GetPrivateProfileSection(
     section_name: &str,
     file_name: &str
 ) -> SysResult<Vec<(String, String)>>
Available on crate feature kernel only.
Expand description

GetPrivateProfileSection @@ -17,4 +17,10 @@

§Examples

for (key, val) in pairs.iter() { println!("{} = {}", key, val); }
+ +

\ No newline at end of file diff --git a/winsafe/fn.GetPrivateProfileSectionNames.html b/winsafe/fn.GetPrivateProfileSectionNames.html index d087084c46..618f0d1835 100644 --- a/winsafe/fn.GetPrivateProfileSectionNames.html +++ b/winsafe/fn.GetPrivateProfileSectionNames.html @@ -1,5 +1,5 @@ GetPrivateProfileSectionNames in winsafe - Rust -
pub fn GetPrivateProfileSectionNames(
+    
pub fn GetPrivateProfileSectionNames(
     file_name: Option<&str>
 ) -> SysResult<Vec<String>>
Available on crate feature kernel only.
Expand description

GetPrivateProfileSectionNames function.

@@ -15,4 +15,10 @@

§Examples

for section in sections.iter() { println!("{}", section); }
+ +
\ No newline at end of file diff --git a/winsafe/fn.GetPrivateProfileString.html b/winsafe/fn.GetPrivateProfileString.html index 440920e707..b79b7ff667 100644 --- a/winsafe/fn.GetPrivateProfileString.html +++ b/winsafe/fn.GetPrivateProfileString.html @@ -1,13 +1,11 @@ GetPrivateProfileString in winsafe - Rust -
pub fn GetPrivateProfileString(
+    
pub fn GetPrivateProfileString(
     section_name: Option<&str>,
     key_name: Option<&str>,
     default_val: Option<&str>,
     file_name: &str
 ) -> SysResult<String>
Available on crate feature kernel only.
Expand description

GetPrivateProfileString function.

-

The related writing function is -WritePrivateProfileString.

§Examples

Reading from an INI file:

@@ -21,4 +19,10 @@

§Examples

)?; println!("{}", val);
+ +
\ No newline at end of file diff --git a/winsafe/fn.GetSidLengthRequired.html b/winsafe/fn.GetSidLengthRequired.html index 0940c273f9..747cac6e31 100644 --- a/winsafe/fn.GetSidLengthRequired.html +++ b/winsafe/fn.GetSidLengthRequired.html @@ -1,4 +1,4 @@ GetSidLengthRequired in winsafe - Rust -
pub fn GetSidLengthRequired(sub_authority_count: u8) -> u32
Available on crate feature kernel only.
Expand description

GetSidLengthRequired +

pub fn GetSidLengthRequired(sub_authority_count: u8) -> u32
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.GetStartupInfo.html b/winsafe/fn.GetStartupInfo.html index 5fedaa4b2c..e9bc958f79 100644 --- a/winsafe/fn.GetStartupInfo.html +++ b/winsafe/fn.GetStartupInfo.html @@ -1,5 +1,5 @@ GetStartupInfo in winsafe - Rust -

Function winsafe::GetStartupInfo

source ·
pub fn GetStartupInfo(si: &mut STARTUPINFO<'_, '_>)
Available on crate feature kernel only.
Expand description

GetStartupInfo +

Function winsafe::GetStartupInfo

source ·
pub fn GetStartupInfo(si: &mut STARTUPINFO<'_, '_>)
Available on crate feature kernel only.
Expand description

GetStartupInfo function.

§Examples

use winsafe::{self as w, prelude::*};
diff --git a/winsafe/fn.GetSystemDirectory.html b/winsafe/fn.GetSystemDirectory.html
index e6c97eaed2..8c3d9de581 100644
--- a/winsafe/fn.GetSystemDirectory.html
+++ b/winsafe/fn.GetSystemDirectory.html
@@ -1,4 +1,4 @@
 GetSystemDirectory in winsafe - Rust
-    
pub fn GetSystemDirectory() -> SysResult<String>
Available on crate feature kernel only.
Expand description

GetSystemDirectory +

pub fn GetSystemDirectory() -> SysResult<String>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.GetSystemFileCacheSize.html b/winsafe/fn.GetSystemFileCacheSize.html index 56f2d48808..1da4e5f5ba 100644 --- a/winsafe/fn.GetSystemFileCacheSize.html +++ b/winsafe/fn.GetSystemFileCacheSize.html @@ -1,5 +1,5 @@ GetSystemFileCacheSize in winsafe - Rust -
pub fn GetSystemFileCacheSize() -> SysResult<(usize, usize, FILE_CACHE)>
Available on crate feature kernel only.
Expand description

GetSystemFileCacheSize +

pub fn GetSystemFileCacheSize() -> SysResult<(usize, usize, FILE_CACHE)>
Available on crate feature kernel only.
Expand description

GetSystemFileCacheSize function.

Returns minimum and maximum size of file cache (in bytes), and enabled cache limit flags, respectively.

diff --git a/winsafe/fn.GetSystemInfo.html b/winsafe/fn.GetSystemInfo.html index e6f1568832..0fc9226440 100644 --- a/winsafe/fn.GetSystemInfo.html +++ b/winsafe/fn.GetSystemInfo.html @@ -1,5 +1,5 @@ GetSystemInfo in winsafe - Rust -

Function winsafe::GetSystemInfo

source ·
pub fn GetSystemInfo(si: &mut SYSTEM_INFO)
Available on crate feature kernel only.
Expand description

GetSystemInfo +

Function winsafe::GetSystemInfo

source ·
pub fn GetSystemInfo(si: &mut SYSTEM_INFO)
Available on crate feature kernel only.
Expand description

GetSystemInfo function.

§Examples

use winsafe::{self as w, prelude::*};
diff --git a/winsafe/fn.GetSystemTime.html b/winsafe/fn.GetSystemTime.html
index 74e74768bc..3326f66b55 100644
--- a/winsafe/fn.GetSystemTime.html
+++ b/winsafe/fn.GetSystemTime.html
@@ -1,5 +1,5 @@
 GetSystemTime in winsafe - Rust
-    

Function winsafe::GetSystemTime

source ·
pub fn GetSystemTime(st: &mut SYSTEMTIME)
Available on crate feature kernel only.
Expand description

GetSystemTime +

Function winsafe::GetSystemTime

source ·
pub fn GetSystemTime(st: &mut SYSTEMTIME)
Available on crate feature kernel only.
Expand description

GetSystemTime function.

This function retrieves UTC time; for local time use GetLocalTime.

diff --git a/winsafe/fn.GetSystemTimeAsFileTime.html b/winsafe/fn.GetSystemTimeAsFileTime.html index c04f5e5865..cd255385a0 100644 --- a/winsafe/fn.GetSystemTimeAsFileTime.html +++ b/winsafe/fn.GetSystemTimeAsFileTime.html @@ -1,4 +1,4 @@ GetSystemTimeAsFileTime in winsafe - Rust -
pub fn GetSystemTimeAsFileTime(ft: &mut FILETIME)
Available on crate feature kernel only.
Expand description

GetSystemTimeAsFileTime +

pub fn GetSystemTimeAsFileTime(ft: &mut FILETIME)
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.GetSystemTimePreciseAsFileTime.html b/winsafe/fn.GetSystemTimePreciseAsFileTime.html index 15c67feccc..e98bbec361 100644 --- a/winsafe/fn.GetSystemTimePreciseAsFileTime.html +++ b/winsafe/fn.GetSystemTimePreciseAsFileTime.html @@ -1,4 +1,4 @@ GetSystemTimePreciseAsFileTime in winsafe - Rust -
pub fn GetSystemTimePreciseAsFileTime(ft: &mut FILETIME)
Available on crate feature kernel only.
Expand description

GetSystemTimePreciseAsFileTime +

pub fn GetSystemTimePreciseAsFileTime(ft: &mut FILETIME)
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.GetSystemTimes.html b/winsafe/fn.GetSystemTimes.html index c7beea180f..d0d09b644a 100644 --- a/winsafe/fn.GetSystemTimes.html +++ b/winsafe/fn.GetSystemTimes.html @@ -1,5 +1,5 @@ GetSystemTimes in winsafe - Rust -

Function winsafe::GetSystemTimes

source ·
pub fn GetSystemTimes(
+    

Function winsafe::GetSystemTimes

source ·
pub fn GetSystemTimes(
     idle_time: &mut FILETIME,
     kernel_time: &mut FILETIME,
     user_time: &mut FILETIME
diff --git a/winsafe/fn.GetTempFileName.html b/winsafe/fn.GetTempFileName.html
index 13d50b861a..c309ec26b1 100644
--- a/winsafe/fn.GetTempFileName.html
+++ b/winsafe/fn.GetTempFileName.html
@@ -1,5 +1,5 @@
 GetTempFileName in winsafe - Rust
-    

Function winsafe::GetTempFileName

source ·
pub fn GetTempFileName(
+    

Function winsafe::GetTempFileName

source ·
pub fn GetTempFileName(
     path_name: &str,
     prefix: &str,
     unique: u32
diff --git a/winsafe/fn.GetTempPath.html b/winsafe/fn.GetTempPath.html
index e7cd3328ea..91f3627f51 100644
--- a/winsafe/fn.GetTempPath.html
+++ b/winsafe/fn.GetTempPath.html
@@ -1,4 +1,4 @@
 GetTempPath in winsafe - Rust
-    

Function winsafe::GetTempPath

source ·
pub fn GetTempPath() -> SysResult<String>
Available on crate feature kernel only.
Expand description

GetTempPath +

Function winsafe::GetTempPath

source ·
pub fn GetTempPath() -> SysResult<String>
Available on crate feature kernel only.
Expand description

GetTempPath function.

\ No newline at end of file diff --git a/winsafe/fn.GetTickCount64.html b/winsafe/fn.GetTickCount64.html index 328b01ca61..45d6fbbbba 100644 --- a/winsafe/fn.GetTickCount64.html +++ b/winsafe/fn.GetTickCount64.html @@ -1,4 +1,4 @@ GetTickCount64 in winsafe - Rust -

Function winsafe::GetTickCount64

source ·
pub fn GetTickCount64() -> u64
Available on crate feature kernel only.
Expand description

GetTickCount64 +

Function winsafe::GetTickCount64

source ·
pub fn GetTickCount64() -> u64
Available on crate feature kernel only.
Expand description

GetTickCount64 function.

\ No newline at end of file diff --git a/winsafe/fn.GetUserName.html b/winsafe/fn.GetUserName.html index fe3274080e..469bd45c35 100644 --- a/winsafe/fn.GetUserName.html +++ b/winsafe/fn.GetUserName.html @@ -1,4 +1,4 @@ GetUserName in winsafe - Rust -

Function winsafe::GetUserName

source ·
pub fn GetUserName() -> SysResult<String>
Available on crate feature kernel only.
Expand description

GetUserName +

Function winsafe::GetUserName

source ·
pub fn GetUserName() -> SysResult<String>
Available on crate feature kernel only.
Expand description

GetUserName function.

\ No newline at end of file diff --git a/winsafe/fn.GetVolumeInformation.html b/winsafe/fn.GetVolumeInformation.html index 4fc0ead998..2491661eb1 100644 --- a/winsafe/fn.GetVolumeInformation.html +++ b/winsafe/fn.GetVolumeInformation.html @@ -1,5 +1,5 @@ GetVolumeInformation in winsafe - Rust -
pub fn GetVolumeInformation(
+    
pub fn GetVolumeInformation(
     root_path_name: Option<&str>,
     name: Option<&mut String>,
     serial_number: Option<&mut u32>,
diff --git a/winsafe/fn.GetVolumePathName.html b/winsafe/fn.GetVolumePathName.html
index 419351fdc3..bea60c728c 100644
--- a/winsafe/fn.GetVolumePathName.html
+++ b/winsafe/fn.GetVolumePathName.html
@@ -1,4 +1,4 @@
 GetVolumePathName in winsafe - Rust
-    

Function winsafe::GetVolumePathName

source ·
pub fn GetVolumePathName(file_name: &str) -> SysResult<String>
Available on crate feature kernel only.
Expand description

GetVolumePathName +

Function winsafe::GetVolumePathName

source ·
pub fn GetVolumePathName(file_name: &str) -> SysResult<String>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.GetWindowsAccountDomainSid.html b/winsafe/fn.GetWindowsAccountDomainSid.html index 6ac5c28cc3..4dbb7ec93e 100644 --- a/winsafe/fn.GetWindowsAccountDomainSid.html +++ b/winsafe/fn.GetWindowsAccountDomainSid.html @@ -1,4 +1,4 @@ GetWindowsAccountDomainSid in winsafe - Rust -
pub fn GetWindowsAccountDomainSid(sid: &SID) -> SysResult<SidGuard>
Available on crate feature kernel only.
Expand description

GetWindowsAccountDomainSid +

pub fn GetWindowsAccountDomainSid(sid: &SID) -> SysResult<SidGuard>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.GlobalMemoryStatusEx.html b/winsafe/fn.GlobalMemoryStatusEx.html index a207aa551e..347c88065e 100644 --- a/winsafe/fn.GlobalMemoryStatusEx.html +++ b/winsafe/fn.GlobalMemoryStatusEx.html @@ -1,4 +1,4 @@ GlobalMemoryStatusEx in winsafe - Rust -
pub fn GlobalMemoryStatusEx(msx: &mut MEMORYSTATUSEX) -> SysResult<()>
Available on crate feature kernel only.
Expand description

GlobalMemoryStatusEx +

pub fn GlobalMemoryStatusEx(msx: &mut MEMORYSTATUSEX) -> SysResult<()>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.HIBYTE.html b/winsafe/fn.HIBYTE.html index 0392898189..18b8af8693 100644 --- a/winsafe/fn.HIBYTE.html +++ b/winsafe/fn.HIBYTE.html @@ -1,4 +1,4 @@ HIBYTE in winsafe - Rust -

Function winsafe::HIBYTE

source ·
pub const fn HIBYTE(v: u16) -> u8
Available on crate feature kernel only.
Expand description

HIBYTE +

Function winsafe::HIBYTE

source ·
pub const fn HIBYTE(v: u16) -> u8
Available on crate feature kernel only.
Expand description

HIBYTE macro.

\ No newline at end of file diff --git a/winsafe/fn.HIDWORD.html b/winsafe/fn.HIDWORD.html index 850dbc854c..953e741098 100644 --- a/winsafe/fn.HIDWORD.html +++ b/winsafe/fn.HIDWORD.html @@ -1,3 +1,3 @@ HIDWORD in winsafe - Rust -

Function winsafe::HIDWORD

source ·
pub const fn HIDWORD(v: u64) -> u32
Available on crate feature kernel only.
Expand description

Returns the high-order u32 of an u64.

+

Function winsafe::HIDWORD

source ·
pub const fn HIDWORD(v: u64) -> u32
Available on crate feature kernel only.
Expand description

Returns the high-order u32 of an u64.

\ No newline at end of file diff --git a/winsafe/fn.HIWORD.html b/winsafe/fn.HIWORD.html index 36335b5d1b..bd7f461fd7 100644 --- a/winsafe/fn.HIWORD.html +++ b/winsafe/fn.HIWORD.html @@ -1,4 +1,4 @@ HIWORD in winsafe - Rust -

Function winsafe::HIWORD

source ·
pub const fn HIWORD(v: u32) -> u16
Available on crate feature kernel only.
Expand description

HIWORD +

Function winsafe::HIWORD

source ·
pub const fn HIWORD(v: u32) -> u16
Available on crate feature kernel only.
Expand description

HIWORD macro.

\ No newline at end of file diff --git a/winsafe/fn.InitializeSecurityDescriptor.html b/winsafe/fn.InitializeSecurityDescriptor.html index a977cd5ec0..4c73537a1e 100644 --- a/winsafe/fn.InitializeSecurityDescriptor.html +++ b/winsafe/fn.InitializeSecurityDescriptor.html @@ -1,5 +1,5 @@ InitializeSecurityDescriptor in winsafe - Rust -
pub fn InitializeSecurityDescriptor() -> SysResult<SECURITY_DESCRIPTOR>
Available on crate feature kernel only.
Expand description

InitializeSecurityDescriptor +

pub fn InitializeSecurityDescriptor() -> SysResult<SECURITY_DESCRIPTOR>
Available on crate feature kernel only.
Expand description

InitializeSecurityDescriptor function.

You don’t need to call this function directly, because SECURITY_DESCRIPTOR implements the diff --git a/winsafe/fn.InitiateSystemShutdown.html b/winsafe/fn.InitiateSystemShutdown.html index 88a1ced85f..6b5abece80 100644 --- a/winsafe/fn.InitiateSystemShutdown.html +++ b/winsafe/fn.InitiateSystemShutdown.html @@ -1,5 +1,5 @@ InitiateSystemShutdown in winsafe - Rust

-
pub fn InitiateSystemShutdown(
+    
pub fn InitiateSystemShutdown(
     machine_name: Option<&str>,
     message: Option<&str>,
     timeout: u32,
diff --git a/winsafe/fn.InitiateSystemShutdownEx.html b/winsafe/fn.InitiateSystemShutdownEx.html
index ee656885cf..5481b0c158 100644
--- a/winsafe/fn.InitiateSystemShutdownEx.html
+++ b/winsafe/fn.InitiateSystemShutdownEx.html
@@ -1,5 +1,5 @@
 InitiateSystemShutdownEx in winsafe - Rust
-    
pub fn InitiateSystemShutdownEx(
+    
pub fn InitiateSystemShutdownEx(
     machine_name: Option<&str>,
     message: Option<&str>,
     timeout: u32,
diff --git a/winsafe/fn.IsDebuggerPresent.html b/winsafe/fn.IsDebuggerPresent.html
index 057e70f367..d01a8bc97d 100644
--- a/winsafe/fn.IsDebuggerPresent.html
+++ b/winsafe/fn.IsDebuggerPresent.html
@@ -1,4 +1,4 @@
 IsDebuggerPresent in winsafe - Rust
-    

Function winsafe::IsDebuggerPresent

source ·
pub fn IsDebuggerPresent() -> bool
Available on crate feature kernel only.
Expand description

IsDebuggerPresent +

Function winsafe::IsDebuggerPresent

source ·
pub fn IsDebuggerPresent() -> bool
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.IsNativeVhdBoot.html b/winsafe/fn.IsNativeVhdBoot.html index d0b0ef1c78..a9edf1a786 100644 --- a/winsafe/fn.IsNativeVhdBoot.html +++ b/winsafe/fn.IsNativeVhdBoot.html @@ -1,4 +1,4 @@ IsNativeVhdBoot in winsafe - Rust -

Function winsafe::IsNativeVhdBoot

source ·
pub fn IsNativeVhdBoot() -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsNativeVhdBoot +

Function winsafe::IsNativeVhdBoot

source ·
pub fn IsNativeVhdBoot() -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsNativeVhdBoot function.

\ No newline at end of file diff --git a/winsafe/fn.IsValidSecurityDescriptor.html b/winsafe/fn.IsValidSecurityDescriptor.html index c552a7b1c2..94b0314ec6 100644 --- a/winsafe/fn.IsValidSecurityDescriptor.html +++ b/winsafe/fn.IsValidSecurityDescriptor.html @@ -1,4 +1,4 @@ IsValidSecurityDescriptor in winsafe - Rust -
pub fn IsValidSecurityDescriptor(sd: &SECURITY_DESCRIPTOR) -> bool
Available on crate feature kernel only.
Expand description

IsValidSecurityDescriptor +

pub fn IsValidSecurityDescriptor(sd: &SECURITY_DESCRIPTOR) -> bool
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.IsValidSid.html b/winsafe/fn.IsValidSid.html index 5528ffa6b7..737ff997f6 100644 --- a/winsafe/fn.IsValidSid.html +++ b/winsafe/fn.IsValidSid.html @@ -1,4 +1,4 @@ IsValidSid in winsafe - Rust -

Function winsafe::IsValidSid

source ·
pub fn IsValidSid(sid: &SID) -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsValidSid +

Function winsafe::IsValidSid

source ·
pub fn IsValidSid(sid: &SID) -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsValidSid function.

\ No newline at end of file diff --git a/winsafe/fn.IsWellKnownSid.html b/winsafe/fn.IsWellKnownSid.html index fe9d8403ba..d80458f23d 100644 --- a/winsafe/fn.IsWellKnownSid.html +++ b/winsafe/fn.IsWellKnownSid.html @@ -1,4 +1,4 @@ IsWellKnownSid in winsafe - Rust -

Function winsafe::IsWellKnownSid

source ·
pub fn IsWellKnownSid(sid: &SID, well_known_sid: WELL_KNOWN_SID_TYPE) -> bool
Available on crate feature kernel only.
Expand description

IsWellKnownSid +

Function winsafe::IsWellKnownSid

source ·
pub fn IsWellKnownSid(sid: &SID, well_known_sid: WELL_KNOWN_SID_TYPE) -> bool
Available on crate feature kernel only.
Expand description

IsWellKnownSid function.

\ No newline at end of file diff --git a/winsafe/fn.IsWindows10OrGreater.html b/winsafe/fn.IsWindows10OrGreater.html index 85a66ddc3f..ec120a72d9 100644 --- a/winsafe/fn.IsWindows10OrGreater.html +++ b/winsafe/fn.IsWindows10OrGreater.html @@ -1,4 +1,4 @@ IsWindows10OrGreater in winsafe - Rust -
pub fn IsWindows10OrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsWindows10OrGreater +

pub fn IsWindows10OrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.IsWindows7OrGreater.html b/winsafe/fn.IsWindows7OrGreater.html index 311c222a2d..28cd684119 100644 --- a/winsafe/fn.IsWindows7OrGreater.html +++ b/winsafe/fn.IsWindows7OrGreater.html @@ -1,4 +1,4 @@ IsWindows7OrGreater in winsafe - Rust -
pub fn IsWindows7OrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsWindows7OrGreater +

pub fn IsWindows7OrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.IsWindows8OrGreater.html b/winsafe/fn.IsWindows8OrGreater.html index 1d91be217a..b880c2aa05 100644 --- a/winsafe/fn.IsWindows8OrGreater.html +++ b/winsafe/fn.IsWindows8OrGreater.html @@ -1,4 +1,4 @@ IsWindows8OrGreater in winsafe - Rust -
pub fn IsWindows8OrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsWindows8OrGreater +

pub fn IsWindows8OrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.IsWindows8Point1OrGreater.html b/winsafe/fn.IsWindows8Point1OrGreater.html index 8d4580268d..2a745912d1 100644 --- a/winsafe/fn.IsWindows8Point1OrGreater.html +++ b/winsafe/fn.IsWindows8Point1OrGreater.html @@ -1,4 +1,4 @@ IsWindows8Point1OrGreater in winsafe - Rust -
pub fn IsWindows8Point1OrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsWindows8Point1OrGreater +

pub fn IsWindows8Point1OrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.IsWindowsServer.html b/winsafe/fn.IsWindowsServer.html index 3d3f9bf3a1..b4cf526f5f 100644 --- a/winsafe/fn.IsWindowsServer.html +++ b/winsafe/fn.IsWindowsServer.html @@ -1,4 +1,4 @@ IsWindowsServer in winsafe - Rust -

Function winsafe::IsWindowsServer

source ·
pub fn IsWindowsServer() -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsWindowsServer +

Function winsafe::IsWindowsServer

source ·
pub fn IsWindowsServer() -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsWindowsServer function.

\ No newline at end of file diff --git a/winsafe/fn.IsWindowsVersionOrGreater.html b/winsafe/fn.IsWindowsVersionOrGreater.html index b9c9c57135..214055697c 100644 --- a/winsafe/fn.IsWindowsVersionOrGreater.html +++ b/winsafe/fn.IsWindowsVersionOrGreater.html @@ -1,5 +1,5 @@ IsWindowsVersionOrGreater in winsafe - Rust -
pub fn IsWindowsVersionOrGreater(
+    
pub fn IsWindowsVersionOrGreater(
     major_version: u16,
     minor_version: u16,
     service_pack_major: u16
diff --git a/winsafe/fn.IsWindowsVistaOrGreater.html b/winsafe/fn.IsWindowsVistaOrGreater.html
index 18782a624b..6599ddc372 100644
--- a/winsafe/fn.IsWindowsVistaOrGreater.html
+++ b/winsafe/fn.IsWindowsVistaOrGreater.html
@@ -1,4 +1,4 @@
 IsWindowsVistaOrGreater in winsafe - Rust
-    
pub fn IsWindowsVistaOrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description

IsWindowsVistaOrGreater +

pub fn IsWindowsVistaOrGreater() -> SysResult<bool>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.LOBYTE.html b/winsafe/fn.LOBYTE.html index d31e68793e..33663f6e63 100644 --- a/winsafe/fn.LOBYTE.html +++ b/winsafe/fn.LOBYTE.html @@ -1,4 +1,4 @@ LOBYTE in winsafe - Rust -

Function winsafe::LOBYTE

source ·
pub const fn LOBYTE(v: u16) -> u8
Available on crate feature kernel only.
Expand description

LOBYTE +

Function winsafe::LOBYTE

source ·
pub const fn LOBYTE(v: u16) -> u8
Available on crate feature kernel only.
Expand description

LOBYTE macro.

\ No newline at end of file diff --git a/winsafe/fn.LODWORD.html b/winsafe/fn.LODWORD.html index b2e71e9123..b46a9aecfa 100644 --- a/winsafe/fn.LODWORD.html +++ b/winsafe/fn.LODWORD.html @@ -1,3 +1,3 @@ LODWORD in winsafe - Rust -

Function winsafe::LODWORD

source ·
pub const fn LODWORD(v: u64) -> u32
Available on crate feature kernel only.
Expand description

Returns the low-order u32 of an u64.

+

Function winsafe::LODWORD

source ·
pub const fn LODWORD(v: u64) -> u32
Available on crate feature kernel only.
Expand description

Returns the low-order u32 of an u64.

\ No newline at end of file diff --git a/winsafe/fn.LOWORD.html b/winsafe/fn.LOWORD.html index 8eaac5aeee..3d4ac6bb2b 100644 --- a/winsafe/fn.LOWORD.html +++ b/winsafe/fn.LOWORD.html @@ -1,4 +1,4 @@ LOWORD in winsafe - Rust -

Function winsafe::LOWORD

source ·
pub const fn LOWORD(v: u32) -> u16
Available on crate feature kernel only.
Expand description

LOWORD +

Function winsafe::LOWORD

source ·
pub const fn LOWORD(v: u32) -> u16
Available on crate feature kernel only.
Expand description

LOWORD macro.

\ No newline at end of file diff --git a/winsafe/fn.LookupAccountName.html b/winsafe/fn.LookupAccountName.html index 1e41fb7073..3625b39e27 100644 --- a/winsafe/fn.LookupAccountName.html +++ b/winsafe/fn.LookupAccountName.html @@ -1,5 +1,5 @@ LookupAccountName in winsafe - Rust -

Function winsafe::LookupAccountName

source ·
pub fn LookupAccountName(
+    

Function winsafe::LookupAccountName

source ·
pub fn LookupAccountName(
     system_name: Option<&str>,
     account_name: &str
 ) -> SysResult<(String, SidGuard, SID_NAME_USE)>
Available on crate feature kernel only.
Expand description

LookupAccountName diff --git a/winsafe/fn.LookupAccountSid.html b/winsafe/fn.LookupAccountSid.html index a9527b9392..6e591eb620 100644 --- a/winsafe/fn.LookupAccountSid.html +++ b/winsafe/fn.LookupAccountSid.html @@ -1,5 +1,5 @@ LookupAccountSid in winsafe - Rust

-

Function winsafe::LookupAccountSid

source ·
pub fn LookupAccountSid(
+    

Function winsafe::LookupAccountSid

source ·
pub fn LookupAccountSid(
     system_name: Option<&str>,
     sid: &SID
 ) -> SysResult<(String, String, SID_NAME_USE)>
Available on crate feature kernel only.
Expand description

LookupAccountSid diff --git a/winsafe/fn.LookupPrivilegeName.html b/winsafe/fn.LookupPrivilegeName.html index 8413488f90..6f5d3cb5fc 100644 --- a/winsafe/fn.LookupPrivilegeName.html +++ b/winsafe/fn.LookupPrivilegeName.html @@ -1,5 +1,5 @@ LookupPrivilegeName in winsafe - Rust

-
pub fn LookupPrivilegeName(
+    
pub fn LookupPrivilegeName(
     system_name: Option<&str>,
     luid: LUID
 ) -> SysResult<SE_PRIV>
Available on crate feature kernel only.
Expand description

LookupPrivilegeName diff --git a/winsafe/fn.LookupPrivilegeValue.html b/winsafe/fn.LookupPrivilegeValue.html index 7cb11a9d4f..fc22304a6c 100644 --- a/winsafe/fn.LookupPrivilegeValue.html +++ b/winsafe/fn.LookupPrivilegeValue.html @@ -1,5 +1,5 @@ LookupPrivilegeValue in winsafe - Rust

-
pub fn LookupPrivilegeValue(
+    
pub fn LookupPrivilegeValue(
     system_name: Option<&str>,
     name: SE_PRIV
 ) -> SysResult<LUID>
Available on crate feature kernel only.
Expand description

LookupPrivilegeValue diff --git a/winsafe/fn.MAKEDWORD.html b/winsafe/fn.MAKEDWORD.html index 12bbe692cd..8cf007188d 100644 --- a/winsafe/fn.MAKEDWORD.html +++ b/winsafe/fn.MAKEDWORD.html @@ -1,5 +1,5 @@ MAKEDWORD in winsafe - Rust

-

Function winsafe::MAKEDWORD

source ·
pub const fn MAKEDWORD(lo: u16, hi: u16) -> u32
Available on crate feature kernel only.
Expand description

Function that implements +

Function winsafe::MAKEDWORD

source ·
pub const fn MAKEDWORD(lo: u16, hi: u16) -> u32
Available on crate feature kernel only.
Expand description

Function that implements MAKELONG, MAKEWPARAM, and diff --git a/winsafe/fn.MAKEQWORD.html b/winsafe/fn.MAKEQWORD.html index 2fc46f2f11..2004c740ee 100644 --- a/winsafe/fn.MAKEQWORD.html +++ b/winsafe/fn.MAKEQWORD.html @@ -1,3 +1,3 @@ MAKEQWORD in winsafe - Rust

-

Function winsafe::MAKEQWORD

source ·
pub const fn MAKEQWORD(lo: u32, hi: u32) -> u64
Available on crate feature kernel only.
Expand description

Similar to MAKEDWORD, but for u64.

+

Function winsafe::MAKEQWORD

source ·
pub const fn MAKEQWORD(lo: u32, hi: u32) -> u64
Available on crate feature kernel only.
Expand description

Similar to MAKEDWORD, but for u64.

\ No newline at end of file diff --git a/winsafe/fn.MAKEWORD.html b/winsafe/fn.MAKEWORD.html index 32df05e33b..661524d355 100644 --- a/winsafe/fn.MAKEWORD.html +++ b/winsafe/fn.MAKEWORD.html @@ -1,4 +1,4 @@ MAKEWORD in winsafe - Rust -

Function winsafe::MAKEWORD

source ·
pub const fn MAKEWORD(lo: u8, hi: u8) -> u16
Available on crate feature kernel only.
Expand description

MAKEWORD +

Function winsafe::MAKEWORD

source ·
pub const fn MAKEWORD(lo: u8, hi: u8) -> u16
Available on crate feature kernel only.
Expand description

MAKEWORD macro.

\ No newline at end of file diff --git a/winsafe/fn.MoveFile.html b/winsafe/fn.MoveFile.html index d4a9853109..73414bc1d2 100644 --- a/winsafe/fn.MoveFile.html +++ b/winsafe/fn.MoveFile.html @@ -1,4 +1,4 @@ MoveFile in winsafe - Rust -

Function winsafe::MoveFile

source ·
pub fn MoveFile(existing_file: &str, new_file: &str) -> SysResult<()>
Available on crate feature kernel only.
Expand description

MoveFile +

Function winsafe::MoveFile

source ·
pub fn MoveFile(existing_file: &str, new_file: &str) -> SysResult<()>
Available on crate feature kernel only.
Expand description

MoveFile function.

\ No newline at end of file diff --git a/winsafe/fn.MulDiv.html b/winsafe/fn.MulDiv.html index 9122940dec..bf30d26742 100644 --- a/winsafe/fn.MulDiv.html +++ b/winsafe/fn.MulDiv.html @@ -1,4 +1,4 @@ MulDiv in winsafe - Rust -

Function winsafe::MulDiv

source ·
pub fn MulDiv(number: i32, numerator: i32, denominator: i32) -> i32
Available on crate feature kernel only.
Expand description

MulDiv +

Function winsafe::MulDiv

source ·
pub fn MulDiv(number: i32, numerator: i32, denominator: i32) -> i32
Available on crate feature kernel only.
Expand description

MulDiv function.

\ No newline at end of file diff --git a/winsafe/fn.MultiByteToWideChar.html b/winsafe/fn.MultiByteToWideChar.html index 50c06648b6..b395e5e955 100644 --- a/winsafe/fn.MultiByteToWideChar.html +++ b/winsafe/fn.MultiByteToWideChar.html @@ -1,5 +1,5 @@ MultiByteToWideChar in winsafe - Rust -
pub fn MultiByteToWideChar(
+    
pub fn MultiByteToWideChar(
     code_page: CP,
     flags: MBC,
     multi_byte_str: &[u8]
diff --git a/winsafe/fn.OutputDebugString.html b/winsafe/fn.OutputDebugString.html
index a44fbd7e04..d3f650b6d4 100644
--- a/winsafe/fn.OutputDebugString.html
+++ b/winsafe/fn.OutputDebugString.html
@@ -1,4 +1,4 @@
 OutputDebugString in winsafe - Rust
-    

Function winsafe::OutputDebugString

source ·
pub fn OutputDebugString(output_string: &str)
Available on crate feature kernel only.
Expand description

OutputDebugString +

Function winsafe::OutputDebugString

source ·
pub fn OutputDebugString(output_string: &str)
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.QueryPerformanceCounter.html b/winsafe/fn.QueryPerformanceCounter.html index 21e629577e..60d70b3abb 100644 --- a/winsafe/fn.QueryPerformanceCounter.html +++ b/winsafe/fn.QueryPerformanceCounter.html @@ -1,5 +1,5 @@ QueryPerformanceCounter in winsafe - Rust -
pub fn QueryPerformanceCounter() -> SysResult<i64>
Available on crate feature kernel only.
Expand description

QueryPerformanceCounter +

pub fn QueryPerformanceCounter() -> SysResult<i64>
Available on crate feature kernel only.
Expand description

QueryPerformanceCounter function.

§Examples

use winsafe::{self as w, prelude::*};
diff --git a/winsafe/fn.QueryPerformanceFrequency.html b/winsafe/fn.QueryPerformanceFrequency.html
index 85df14f88c..3d5d2f01b1 100644
--- a/winsafe/fn.QueryPerformanceFrequency.html
+++ b/winsafe/fn.QueryPerformanceFrequency.html
@@ -1,5 +1,5 @@
 QueryPerformanceFrequency in winsafe - Rust
-    
pub fn QueryPerformanceFrequency() -> SysResult<i64>
Available on crate feature kernel only.
Expand description

QueryPerformanceFrequency +

pub fn QueryPerformanceFrequency() -> SysResult<i64>
Available on crate feature kernel only.
Expand description

QueryPerformanceFrequency function.

Usually used with QueryPerformanceCounter.

diff --git a/winsafe/fn.ReplaceFile.html b/winsafe/fn.ReplaceFile.html index a7cfd7744b..eae305ec34 100644 --- a/winsafe/fn.ReplaceFile.html +++ b/winsafe/fn.ReplaceFile.html @@ -1,5 +1,5 @@ ReplaceFile in winsafe - Rust -

Function winsafe::ReplaceFile

source ·
pub fn ReplaceFile(
+    

Function winsafe::ReplaceFile

source ·
pub fn ReplaceFile(
     replaced: &str,
     replacement: &str,
     backup: Option<&str>,
diff --git a/winsafe/fn.SetCurrentDirectory.html b/winsafe/fn.SetCurrentDirectory.html
index 9f78e5eae8..52dcc1d060 100644
--- a/winsafe/fn.SetCurrentDirectory.html
+++ b/winsafe/fn.SetCurrentDirectory.html
@@ -1,4 +1,4 @@
 SetCurrentDirectory in winsafe - Rust
-    
pub fn SetCurrentDirectory(path_name: &str) -> SysResult<()>
Available on crate feature kernel only.
Expand description

SetCurrentDirectory +

pub fn SetCurrentDirectory(path_name: &str) -> SysResult<()>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.SetFileAttributes.html b/winsafe/fn.SetFileAttributes.html index 9b484e9135..bd58d092c4 100644 --- a/winsafe/fn.SetFileAttributes.html +++ b/winsafe/fn.SetFileAttributes.html @@ -1,5 +1,5 @@ SetFileAttributes in winsafe - Rust -

Function winsafe::SetFileAttributes

source ·
pub fn SetFileAttributes(
+    

Function winsafe::SetFileAttributes

source ·
pub fn SetFileAttributes(
     file_name: &str,
     attributes: FILE_ATTRIBUTE
 ) -> SysResult<()>
Available on crate feature kernel only.
Expand description

SetFileAttributes diff --git a/winsafe/fn.SetLastError.html b/winsafe/fn.SetLastError.html index 17451b2a87..4b0424e98f 100644 --- a/winsafe/fn.SetLastError.html +++ b/winsafe/fn.SetLastError.html @@ -1,4 +1,4 @@ SetLastError in winsafe - Rust

-

Function winsafe::SetLastError

source ·
pub fn SetLastError(err_code: ERROR)
Available on crate feature kernel only.
Expand description

SetLastError +

Function winsafe::SetLastError

source ·
pub fn SetLastError(err_code: ERROR)
Available on crate feature kernel only.
Expand description

SetLastError function.

\ No newline at end of file diff --git a/winsafe/fn.SetThreadStackGuarantee.html b/winsafe/fn.SetThreadStackGuarantee.html index a3caf47791..84a2f8429f 100644 --- a/winsafe/fn.SetThreadStackGuarantee.html +++ b/winsafe/fn.SetThreadStackGuarantee.html @@ -1,5 +1,5 @@ SetThreadStackGuarantee in winsafe - Rust -
pub fn SetThreadStackGuarantee(stack_size_in_bytes: u32) -> SysResult<u32>
Available on crate feature kernel only.
Expand description

SetThreadStackGuarantee +

pub fn SetThreadStackGuarantee(stack_size_in_bytes: u32) -> SysResult<u32>
Available on crate feature kernel only.
Expand description

SetThreadStackGuarantee function.

Returns the size of the previous stack.

\ No newline at end of file diff --git a/winsafe/fn.Sleep.html b/winsafe/fn.Sleep.html index 003afaaf84..5a9729f198 100644 --- a/winsafe/fn.Sleep.html +++ b/winsafe/fn.Sleep.html @@ -1,4 +1,4 @@ Sleep in winsafe - Rust -

Function winsafe::Sleep

source ·
pub fn Sleep(milliseconds: u32)
Available on crate feature kernel only.
Expand description

Sleep +

Function winsafe::Sleep

source ·
pub fn Sleep(milliseconds: u32)
Available on crate feature kernel only.
Expand description

Sleep function.

\ No newline at end of file diff --git a/winsafe/fn.SwitchToThread.html b/winsafe/fn.SwitchToThread.html index e6ef92d890..b5ebca0dbf 100644 --- a/winsafe/fn.SwitchToThread.html +++ b/winsafe/fn.SwitchToThread.html @@ -1,4 +1,4 @@ SwitchToThread in winsafe - Rust -

Function winsafe::SwitchToThread

source ·
pub fn SwitchToThread() -> SysResult<()>
Available on crate feature kernel only.
Expand description

SwitchToThread +

Function winsafe::SwitchToThread

source ·
pub fn SwitchToThread() -> SysResult<()>
Available on crate feature kernel only.
Expand description

SwitchToThread function.

\ No newline at end of file diff --git a/winsafe/fn.SystemTimeToFileTime.html b/winsafe/fn.SystemTimeToFileTime.html index c869035df1..91222fc498 100644 --- a/winsafe/fn.SystemTimeToFileTime.html +++ b/winsafe/fn.SystemTimeToFileTime.html @@ -1,4 +1,4 @@ SystemTimeToFileTime in winsafe - Rust -
pub fn SystemTimeToFileTime(st: &SYSTEMTIME, ft: &mut FILETIME) -> SysResult<()>
Available on crate feature kernel only.
Expand description

SystemTimeToFileTime +

pub fn SystemTimeToFileTime(st: &SYSTEMTIME, ft: &mut FILETIME) -> SysResult<()>
Available on crate feature kernel only.
Expand description
\ No newline at end of file diff --git a/winsafe/fn.SystemTimeToTzSpecificLocalTime.html b/winsafe/fn.SystemTimeToTzSpecificLocalTime.html index ec7b50ea5e..51a9f9eeed 100644 --- a/winsafe/fn.SystemTimeToTzSpecificLocalTime.html +++ b/winsafe/fn.SystemTimeToTzSpecificLocalTime.html @@ -1,5 +1,5 @@ SystemTimeToTzSpecificLocalTime in winsafe - Rust -
pub fn SystemTimeToTzSpecificLocalTime(
+    
pub fn SystemTimeToTzSpecificLocalTime(
     time_zone: Option<&TIME_ZONE_INFORMATION>,
     universal_time: &SYSTEMTIME,
     local_time: &mut SYSTEMTIME
diff --git a/winsafe/fn.VerSetConditionMask.html b/winsafe/fn.VerSetConditionMask.html
index fabdcedccb..b74a93035a 100644
--- a/winsafe/fn.VerSetConditionMask.html
+++ b/winsafe/fn.VerSetConditionMask.html
@@ -1,5 +1,5 @@
 VerSetConditionMask in winsafe - Rust
-    
pub fn VerSetConditionMask(
+    
pub fn VerSetConditionMask(
     condition_mask: u64,
     type_mask: VER_MASK,
     condition: VER_COND
diff --git a/winsafe/fn.VerifyVersionInfo.html b/winsafe/fn.VerifyVersionInfo.html
index af64ef8045..62a52bff73 100644
--- a/winsafe/fn.VerifyVersionInfo.html
+++ b/winsafe/fn.VerifyVersionInfo.html
@@ -1,5 +1,5 @@
 VerifyVersionInfo in winsafe - Rust
-    

Function winsafe::VerifyVersionInfo

source ·
pub fn VerifyVersionInfo(
+    

Function winsafe::VerifyVersionInfo

source ·
pub fn VerifyVersionInfo(
     osvix: &mut OSVERSIONINFOEX,
     type_mask: VER_MASK,
     condition_mask: u64
diff --git a/winsafe/fn.WideCharToMultiByte.html b/winsafe/fn.WideCharToMultiByte.html
index 2da37e51a3..ebd16f3ce2 100644
--- a/winsafe/fn.WideCharToMultiByte.html
+++ b/winsafe/fn.WideCharToMultiByte.html
@@ -1,5 +1,5 @@
 WideCharToMultiByte in winsafe - Rust
-    
pub fn WideCharToMultiByte(
+    
pub fn WideCharToMultiByte(
     code_page: CP,
     flags: WC,
     wide_char_str: &[u16],
diff --git a/winsafe/fn.WritePrivateProfileString.html b/winsafe/fn.WritePrivateProfileString.html
index c762deecf5..fe16aa20cd 100644
--- a/winsafe/fn.WritePrivateProfileString.html
+++ b/winsafe/fn.WritePrivateProfileString.html
@@ -1,13 +1,11 @@
 WritePrivateProfileString in winsafe - Rust
-    
pub fn WritePrivateProfileString(
+    
pub fn WritePrivateProfileString(
     section_name: &str,
     key_name: Option<&str>,
     new_val: Option<&str>,
     file_name: &str
 ) -> SysResult<()>
Available on crate feature kernel only.
Expand description

WritePrivateProfileString function.

-

The related reading function is -GetPrivateProfileString.

§Examples

Writing value into an INI file:

@@ -19,4 +17,10 @@

§Examples

Some("new value"), "C:\\Temp\\foo.ini", )?;
+ +
\ No newline at end of file diff --git a/winsafe/struct.BSTR.html b/winsafe/struct.BSTR.html index ab6a69c74f..c29b72b68b 100644 --- a/winsafe/struct.BSTR.html +++ b/winsafe/struct.BSTR.html @@ -29,7 +29,7 @@
§Safety
won’t be called.

Be sure to free the pointer, otherwise, as the name of this method implies, you will cause a memory leak.

-

Trait Implementations§

source§

impl Debug for BSTR

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BSTR

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Display for BSTR

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for BSTR

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl From<BSTR> for WString

source§

fn from(value: BSTR) -> WString

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for BSTR

§

impl !Send for BSTR

§

impl !Sync for BSTR

§

impl Unpin for BSTR

§

impl UnwindSafe for BSTR

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Debug for BSTR

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BSTR

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Display for BSTR

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for BSTR

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl From<BSTR> for WString

source§

fn from(v: BSTR) -> WString

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for BSTR

§

impl !Send for BSTR

§

impl !Sync for BSTR

§

impl Unpin for BSTR

§

impl UnwindSafe for BSTR

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/winsafe/struct.WString.html b/winsafe/struct.WString.html index 5eebd7aac0..d0c47b58a5 100644 --- a/winsafe/struct.WString.html +++ b/winsafe/struct.WString.html @@ -84,7 +84,7 @@
§Examples
)?; let wstr = w::WString::parse(file_in.as_slice())?; let str_contents = wstr.to_string();
-

Trait Implementations§

source§

impl Clone for WString

source§

fn clone(&self) -> WString

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for WString

source§

fn default() -> WString

Returns the “default value” for a type. Read more
source§

impl Display for WString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<BSTR> for WString

Available on crate feature oleaut only.
source§

fn from(value: BSTR) -> WString

Converts to this type from the input type.
source§

impl From<SE_PRIV> for WString

source§

fn from(value: SE_PRIV) -> Self

Converts to this type from the input type.
source§

impl Ord for WString

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where +

Trait Implementations§

source§

impl Clone for WString

source§

fn clone(&self) -> WString

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for WString

source§

fn default() -> WString

Returns the “default value” for a type. Read more
source§

impl Display for WString

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<BSTR> for WString

Available on crate feature oleaut only.
source§

fn from(v: BSTR) -> WString

Converts to this type from the input type.
source§

impl From<SE_PRIV> for WString

source§

fn from(v: SE_PRIV) -> Self

Converts to this type from the input type.
source§

impl Ord for WString

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for WString

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used