Trait windows::Win32::Graphics::Printing::IPrintOemUI_Impl

pub trait IPrintOemUI_Impl: Sized + IPrintOemCommon_Impl {
    // Required methods
    fn PublishDriverInterface(&self, piunknown: Option<&IUnknown>) -> Result<()>;
    fn CommonUIProp(
        &self,
        dwmode: u32,
        poemcuipparam: *const OEMCUIPPARAM,
    ) -> Result<()>;
    fn DocumentPropertySheets(
        &self,
        ppsuiinfo: *mut PROPSHEETUI_INFO,
        lparam: LPARAM,
    ) -> Result<()>;
    fn DevicePropertySheets(
        &self,
        ppsuiinfo: *const PROPSHEETUI_INFO,
        lparam: LPARAM,
    ) -> Result<()>;
    fn DevQueryPrintEx(
        &self,
        poemuiobj: *const OEMUIOBJ,
        pdqpinfo: *const DEVQUERYPRINT_INFO,
        ppublicdm: *const DEVMODEA,
        poemdm: *const c_void,
    ) -> Result<()>;
    fn DeviceCapabilitiesA(
        &self,
        poemuiobj: *mut OEMUIOBJ,
        hprinter: HANDLE,
        pdevicename: &PCWSTR,
        wcapability: u16,
        poutput: *mut c_void,
        ppublicdm: *const DEVMODEA,
        poemdm: *const c_void,
        dwold: u32,
        dwresult: *mut u32,
    ) -> Result<()>;
    fn UpgradePrinter(
        &self,
        dwlevel: u32,
        pdriverupgradeinfo: *const u8,
    ) -> Result<()>;
    fn PrinterEvent(
        &self,
        pprintername: &PCWSTR,
        idriverevent: i32,
        dwflags: u32,
        lparam: LPARAM,
    ) -> Result<()>;
    fn DriverEvent(
        &self,
        dwdriverevent: u32,
        dwlevel: u32,
        pdriverinfo: *const u8,
        lparam: LPARAM,
    ) -> Result<()>;
    fn QueryColorProfile(
        &self,
        hprinter: HANDLE,
        poemuiobj: *const OEMUIOBJ,
        ppublicdm: *const DEVMODEA,
        poemdm: *const c_void,
        ulquerymode: u32,
        pvprofiledata: *mut c_void,
        pcbprofiledata: *mut u32,
        pflprofiledata: *mut u32,
    ) -> Result<()>;
    fn FontInstallerDlgProc(
        &self,
        hwnd: HWND,
        usmsg: u32,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<()>;
    fn UpdateExternalFonts(
        &self,
        hprinter: HANDLE,
        hheap: HANDLE,
        pwstrcartridges: &PCWSTR,
    ) -> Result<()>;
}

Required Methods§

fn PublishDriverInterface(&self, piunknown: Option<&IUnknown>) -> Result<()>

fn CommonUIProp( &self, dwmode: u32, poemcuipparam: *const OEMCUIPPARAM, ) -> Result<()>

fn DocumentPropertySheets( &self, ppsuiinfo: *mut PROPSHEETUI_INFO, lparam: LPARAM, ) -> Result<()>

fn DevicePropertySheets( &self, ppsuiinfo: *const PROPSHEETUI_INFO, lparam: LPARAM, ) -> Result<()>

fn DevQueryPrintEx( &self, poemuiobj: *const OEMUIOBJ, pdqpinfo: *const DEVQUERYPRINT_INFO, ppublicdm: *const DEVMODEA, poemdm: *const c_void, ) -> Result<()>

fn DeviceCapabilitiesA( &self, poemuiobj: *mut OEMUIOBJ, hprinter: HANDLE, pdevicename: &PCWSTR, wcapability: u16, poutput: *mut c_void, ppublicdm: *const DEVMODEA, poemdm: *const c_void, dwold: u32, dwresult: *mut u32, ) -> Result<()>

fn UpgradePrinter( &self, dwlevel: u32, pdriverupgradeinfo: *const u8, ) -> Result<()>

fn PrinterEvent( &self, pprintername: &PCWSTR, idriverevent: i32, dwflags: u32, lparam: LPARAM, ) -> Result<()>

fn DriverEvent( &self, dwdriverevent: u32, dwlevel: u32, pdriverinfo: *const u8, lparam: LPARAM, ) -> Result<()>

fn QueryColorProfile( &self, hprinter: HANDLE, poemuiobj: *const OEMUIOBJ, ppublicdm: *const DEVMODEA, poemdm: *const c_void, ulquerymode: u32, pvprofiledata: *mut c_void, pcbprofiledata: *mut u32, pflprofiledata: *mut u32, ) -> Result<()>

fn FontInstallerDlgProc( &self, hwnd: HWND, usmsg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>

fn UpdateExternalFonts( &self, hprinter: HANDLE, hheap: HANDLE, pwstrcartridges: &PCWSTR, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§