pub struct HMONITOR(/* private fields */);
Available on crate feature
user
only.Expand description
Handle to a display monitor.
Trait Implementations§
Source§impl Handle for HMONITOR
impl Handle for HMONITOR
Source§const NULL: Self
const NULL: Self
Available on crate feature
kernel
only.The null, uninitialized handle; equals to
0
.Source§const INVALID: Self
const INVALID: Self
Available on crate feature
kernel
only.The invalid handle; equals to
-1
. Read moreSource§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
kernel
only.Creates a new handle object by wrapping a pointer. Read more
Source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
kernel
only.Returns a mutable reference to the underlying raw pointer. Read more
Source§unsafe fn raw_copy(&self) -> Self
unsafe fn raw_copy(&self) -> Self
Available on crate feature
kernel
only.Returns a raw copy of the underlying handle pointer. Read more
Source§impl user_Hmonitor for HMONITOR
impl user_Hmonitor for HMONITOR
Source§fn GetMonitorInfo(&self) -> SysResult<MONITORINFOEX>
fn GetMonitorInfo(&self) -> SysResult<MONITORINFOEX>
GetMonitorInfo
function.Source§fn MonitorFromPoint(pt: POINT, flags: MONITOR) -> HMONITOR
fn MonitorFromPoint(pt: POINT, flags: MONITOR) -> HMONITOR
MonitorFromPoint
function.Source§fn MonitorFromRect(rc: RECT, flags: MONITOR) -> HMONITOR
fn MonitorFromRect(rc: RECT, flags: MONITOR) -> HMONITOR
MonitorFromRect
function.impl Eq for HMONITOR
impl Send for HMONITOR
impl StructuralPartialEq for HMONITOR
Auto Trait Implementations§
impl Freeze for HMONITOR
impl RefUnwindSafe for HMONITOR
impl !Sync for HMONITOR
impl Unpin for HMONITOR
impl UnwindSafe for HMONITOR
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