#[repr(C)]pub struct MONITOR2 {Show 23 fields
pub cbSize: u32,
pub pfnEnumPorts: isize,
pub pfnOpenPort: isize,
pub pfnOpenPortEx: isize,
pub pfnStartDocPort: isize,
pub pfnWritePort: isize,
pub pfnReadPort: isize,
pub pfnEndDocPort: isize,
pub pfnClosePort: isize,
pub pfnAddPort: isize,
pub pfnAddPortEx: isize,
pub pfnConfigurePort: isize,
pub pfnDeletePort: isize,
pub pfnGetPrinterDataFromPort: isize,
pub pfnSetPortTimeOuts: isize,
pub pfnXcvOpenPort: isize,
pub pfnXcvDataPort: isize,
pub pfnXcvClosePort: isize,
pub pfnShutdown: isize,
pub pfnSendRecvBidiDataFromPort: isize,
pub pfnNotifyUsedPorts: isize,
pub pfnNotifyUnusedPorts: isize,
pub pfnPowerEvent: isize,
}
Expand description
Required features: "Win32_Graphics_Printing"
Fields
cbSize: u32
pfnEnumPorts: isize
pfnOpenPort: isize
pfnOpenPortEx: isize
pfnStartDocPort: isize
pfnWritePort: isize
pfnReadPort: isize
pfnEndDocPort: isize
pfnClosePort: isize
pfnAddPort: isize
pfnAddPortEx: isize
pfnConfigurePort: isize
pfnDeletePort: isize
pfnGetPrinterDataFromPort: isize
pfnSetPortTimeOuts: isize
pfnXcvOpenPort: isize
pfnXcvDataPort: isize
pfnXcvClosePort: isize
pfnShutdown: isize
pfnSendRecvBidiDataFromPort: isize
pfnNotifyUsedPorts: isize
pfnNotifyUnusedPorts: isize
pfnPowerEvent: isize
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MONITOR2
impl Send for MONITOR2
impl Sync for MONITOR2
impl Unpin for MONITOR2
impl UnwindSafe for MONITOR2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more