windows::Win32::Graphics::Printing

Trait IXpsDocumentConsumer_Impl

pub trait IXpsDocumentConsumer_Impl: IUnknownImpl {
    // Required methods
    fn SendXpsUnknown(&self, punknown: Ref<'_, IUnknown>) -> Result<()>;
    fn SendXpsDocument(
        &self,
        pixpsdocument: Ref<'_, IXpsDocument>,
    ) -> Result<()>;
    fn SendFixedDocumentSequence(
        &self,
        pifixeddocumentsequence: Ref<'_, IFixedDocumentSequence>,
    ) -> Result<()>;
    fn SendFixedDocument(
        &self,
        pifixeddocument: Ref<'_, IFixedDocument>,
    ) -> Result<()>;
    fn SendFixedPage(&self, pifixedpage: Ref<'_, IFixedPage>) -> Result<()>;
    fn CloseSender(&self) -> Result<()>;
    fn GetNewEmptyPart(
        &self,
        uri: &PCWSTR,
        riid: *const GUID,
        ppnewobject: *mut *mut c_void,
        ppwritestream: OutRef<'_, IPrintWriteStream>,
    ) -> Result<()>;
}

Required Methods§

fn SendXpsUnknown(&self, punknown: Ref<'_, IUnknown>) -> Result<()>

fn SendXpsDocument(&self, pixpsdocument: Ref<'_, IXpsDocument>) -> Result<()>

fn SendFixedDocumentSequence( &self, pifixeddocumentsequence: Ref<'_, IFixedDocumentSequence>, ) -> Result<()>

fn SendFixedDocument( &self, pifixeddocument: Ref<'_, IFixedDocument>, ) -> Result<()>

fn SendFixedPage(&self, pifixedpage: Ref<'_, IFixedPage>) -> Result<()>

fn CloseSender(&self) -> Result<()>

fn GetNewEmptyPart( &self, uri: &PCWSTR, riid: *const GUID, ppnewobject: *mut *mut c_void, ppwritestream: OutRef<'_, IPrintWriteStream>, ) -> 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§