pub trait IPrintTicketProvider_Impl: Sized {
    // Required methods
    fn GetSupportedVersions(
        &self,
        hprinter: HANDLE,
        ppversions: *mut *mut i32,
        cversions: *mut i32,
    ) -> Result<()>;
    fn BindPrinter(
        &self,
        hprinter: HANDLE,
        version: i32,
        poptions: *mut SHIMOPTS,
        pdevmodeflags: *mut u32,
        cnamespaces: *mut i32,
        ppnamespaces: *mut *mut BSTR,
    ) -> Result<()>;
    fn QueryDeviceNamespace(&self, pdefaultnamespace: *mut BSTR) -> Result<()>;
    fn ConvertPrintTicketToDevMode(
        &self,
        pprintticket: Option<&IXMLDOMDocument2>,
        cbdevmodein: u32,
        pdevmodein: *mut DEVMODEA,
        pcbdevmodeout: *mut u32,
        ppdevmodeout: *mut *mut DEVMODEA,
    ) -> Result<()>;
    fn ConvertDevModeToPrintTicket(
        &self,
        cbdevmode: u32,
        pdevmode: *mut DEVMODEA,
        pprintticket: Option<&IXMLDOMDocument2>,
    ) -> Result<()>;
    fn GetPrintCapabilities(
        &self,
        pprintticket: Option<&IXMLDOMDocument2>,
    ) -> Result<IXMLDOMDocument2>;
    fn ValidatePrintTicket(
        &self,
        pbaseticket: Option<&IXMLDOMDocument2>,
    ) -> Result<()>;
}

Required Methods§

fn GetSupportedVersions( &self, hprinter: HANDLE, ppversions: *mut *mut i32, cversions: *mut i32, ) -> Result<()>

fn BindPrinter( &self, hprinter: HANDLE, version: i32, poptions: *mut SHIMOPTS, pdevmodeflags: *mut u32, cnamespaces: *mut i32, ppnamespaces: *mut *mut BSTR, ) -> Result<()>

fn QueryDeviceNamespace(&self, pdefaultnamespace: *mut BSTR) -> Result<()>

fn ConvertPrintTicketToDevMode( &self, pprintticket: Option<&IXMLDOMDocument2>, cbdevmodein: u32, pdevmodein: *mut DEVMODEA, pcbdevmodeout: *mut u32, ppdevmodeout: *mut *mut DEVMODEA, ) -> Result<()>

fn ConvertDevModeToPrintTicket( &self, cbdevmode: u32, pdevmode: *mut DEVMODEA, pprintticket: Option<&IXMLDOMDocument2>, ) -> Result<()>

fn GetPrintCapabilities( &self, pprintticket: Option<&IXMLDOMDocument2>, ) -> Result<IXMLDOMDocument2>

fn ValidatePrintTicket( &self, pbaseticket: Option<&IXMLDOMDocument2>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§