windows::Win32::Graphics::Printing

Trait IPrintOemUI2_Impl

pub trait IPrintOemUI2_Impl: IPrintOemUI_Impl {
    // Required methods
    fn QueryJobAttributes(
        &self,
        hprinter: &PRINTER_HANDLE,
        pdevmode: *const DEVMODEA,
        dwlevel: u32,
        lpattributeinfo: *const u8,
    ) -> Result<()>;
    fn HideStandardUI(&self, dwmode: u32) -> Result<()>;
    fn DocumentEvent(
        &self,
        hprinter: &PRINTER_HANDLE,
        hdc: HDC,
        iesc: i32,
        cbin: u32,
        pvin: *mut c_void,
        cbout: u32,
        pvout: *mut c_void,
        piresult: *mut i32,
    ) -> Result<()>;
}

Required Methods§

fn QueryJobAttributes( &self, hprinter: &PRINTER_HANDLE, pdevmode: *const DEVMODEA, dwlevel: u32, lpattributeinfo: *const u8, ) -> Result<()>

fn HideStandardUI(&self, dwmode: u32) -> Result<()>

fn DocumentEvent( &self, hprinter: &PRINTER_HANDLE, hdc: HDC, iesc: i32, cbin: u32, pvin: *mut c_void, cbout: u32, pvout: *mut c_void, piresult: *mut i32, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§