Trait windows::Win32::Graphics::Printing::IPrintCoreUI2_Impl

pub trait IPrintCoreUI2_Impl: Sized + IPrintOemDriverUI_Impl {
    // Required methods
    fn GetOptions(
        &self,
        poemuiobj: *const OEMUIOBJ,
        dwflags: u32,
        pmszfeaturesrequested: *const i8,
        cbin: u32,
        pmszfeatureoptionbuf: PSTR,
        cbsize: u32,
        pcbneeded: *mut u32,
    ) -> Result<()>;
    fn SetOptions(
        &self,
        poemuiobj: *const OEMUIOBJ,
        dwflags: u32,
        pmszfeatureoptionbuf: *const i8,
        cbin: u32,
    ) -> Result<u32>;
    fn EnumConstrainedOptions(
        &self,
        poemuiobj: *const OEMUIOBJ,
        dwflags: u32,
        pszfeaturekeyword: &PCSTR,
        pmszconstrainedoptionlist: PSTR,
        cbsize: u32,
        pcbneeded: *mut u32,
    ) -> Result<()>;
    fn WhyConstrained(
        &self,
        poemuiobj: *const OEMUIOBJ,
        dwflags: u32,
        pszfeaturekeyword: &PCSTR,
        pszoptionkeyword: &PCSTR,
        pmszreasonlist: PSTR,
        cbsize: u32,
        pcbneeded: *mut u32,
    ) -> Result<()>;
    fn GetGlobalAttribute(
        &self,
        poemuiobj: *const OEMUIOBJ,
        dwflags: u32,
        pszattribute: &PCSTR,
        pdwdatatype: *mut u32,
        pbdata: *mut u8,
        cbsize: u32,
        pcbneeded: *mut u32,
    ) -> Result<()>;
    fn GetFeatureAttribute(
        &self,
        poemuiobj: *const OEMUIOBJ,
        dwflags: u32,
        pszfeaturekeyword: &PCSTR,
        pszattribute: &PCSTR,
        pdwdatatype: *mut u32,
        pbdata: *mut u8,
        cbsize: u32,
        pcbneeded: *mut u32,
    ) -> Result<()>;
    fn GetOptionAttribute(
        &self,
        poemuiobj: *const OEMUIOBJ,
        dwflags: u32,
        pszfeaturekeyword: &PCSTR,
        pszoptionkeyword: &PCSTR,
        pszattribute: &PCSTR,
        pdwdatatype: *mut u32,
        pbdata: *mut u8,
        cbsize: u32,
        pcbneeded: *mut u32,
    ) -> Result<()>;
    fn EnumFeatures(
        &self,
        poemuiobj: *const OEMUIOBJ,
        dwflags: u32,
        pmszfeaturelist: PSTR,
        cbsize: u32,
        pcbneeded: *mut u32,
    ) -> Result<()>;
    fn EnumOptions(
        &self,
        poemuiobj: *const OEMUIOBJ,
        dwflags: u32,
        pszfeaturekeyword: &PCSTR,
        pmszoptionlist: PSTR,
        cbsize: u32,
        pcbneeded: *mut u32,
    ) -> Result<()>;
    fn QuerySimulationSupport(
        &self,
        hprinter: HANDLE,
        dwlevel: u32,
        pcaps: *mut u8,
        cbsize: u32,
        pcbneeded: *mut u32,
    ) -> Result<()>;
}

Required Methods§

fn GetOptions( &self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pmszfeaturesrequested: *const i8, cbin: u32, pmszfeatureoptionbuf: PSTR, cbsize: u32, pcbneeded: *mut u32, ) -> Result<()>

fn SetOptions( &self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pmszfeatureoptionbuf: *const i8, cbin: u32, ) -> Result<u32>

fn EnumConstrainedOptions( &self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pszfeaturekeyword: &PCSTR, pmszconstrainedoptionlist: PSTR, cbsize: u32, pcbneeded: *mut u32, ) -> Result<()>

fn WhyConstrained( &self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pszfeaturekeyword: &PCSTR, pszoptionkeyword: &PCSTR, pmszreasonlist: PSTR, cbsize: u32, pcbneeded: *mut u32, ) -> Result<()>

fn GetGlobalAttribute( &self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pszattribute: &PCSTR, pdwdatatype: *mut u32, pbdata: *mut u8, cbsize: u32, pcbneeded: *mut u32, ) -> Result<()>

fn GetFeatureAttribute( &self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pszfeaturekeyword: &PCSTR, pszattribute: &PCSTR, pdwdatatype: *mut u32, pbdata: *mut u8, cbsize: u32, pcbneeded: *mut u32, ) -> Result<()>

fn GetOptionAttribute( &self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pszfeaturekeyword: &PCSTR, pszoptionkeyword: &PCSTR, pszattribute: &PCSTR, pdwdatatype: *mut u32, pbdata: *mut u8, cbsize: u32, pcbneeded: *mut u32, ) -> Result<()>

fn EnumFeatures( &self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pmszfeaturelist: PSTR, cbsize: u32, pcbneeded: *mut u32, ) -> Result<()>

fn EnumOptions( &self, poemuiobj: *const OEMUIOBJ, dwflags: u32, pszfeaturekeyword: &PCSTR, pmszoptionlist: PSTR, cbsize: u32, pcbneeded: *mut u32, ) -> Result<()>

fn QuerySimulationSupport( &self, hprinter: HANDLE, dwlevel: u32, pcaps: *mut u8, cbsize: u32, pcbneeded: *mut u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§