Struct winsafe::OSVERSIONINFOEX
source · #[repr(C)]pub struct OSVERSIONINFOEX {
pub dwMajorVersion: u32,
pub dwMinorVersion: u32,
pub dwBuildNumber: u32,
pub dwPlatformId: VER_PLATFORM,
pub wServicePackMajor: u16,
pub wServicePackMinor: u16,
pub wSuiteMask: VER_SUITE,
pub wProductType: VER_NT,
/* private fields */
}
Available on crate feature
kernel
only.Expand description
OSVERSIONINFOEX
struct.
Fields§
§dwMajorVersion: u32
§dwMinorVersion: u32
§dwBuildNumber: u32
§dwPlatformId: VER_PLATFORM
§wServicePackMajor: u16
§wServicePackMinor: u16
§wSuiteMask: VER_SUITE
§wProductType: VER_NT
Implementations§
source§impl OSVERSIONINFOEX
impl OSVERSIONINFOEX
sourcepub fn szCSDVersion(&self) -> String
pub fn szCSDVersion(&self) -> String
Returns the string field.
sourcepub fn set_szCSDVersion(&mut self, text: &str)
pub fn set_szCSDVersion(&mut self, text: &str)
Sets the string field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OSVERSIONINFOEX
impl RefUnwindSafe for OSVERSIONINFOEX
impl Send for OSVERSIONINFOEX
impl Sync for OSVERSIONINFOEX
impl Unpin for OSVERSIONINFOEX
impl UnwindSafe for OSVERSIONINFOEX
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more