Trait windows::Win32::Storage::Xps::IXpsOMPackage1_Impl
pub trait IXpsOMPackage1_Impl: Sized + IXpsOMPackage_Impl {
// Required methods
fn GetDocumentType(&self) -> Result<XPS_DOCUMENT_TYPE>;
fn WriteToFile1(
&self,
filename: &PCWSTR,
securityattributes: *const SECURITY_ATTRIBUTES,
flagsandattributes: u32,
optimizemarkupsize: BOOL,
documenttype: XPS_DOCUMENT_TYPE,
) -> Result<()>;
fn WriteToStream1(
&self,
outputstream: Option<&ISequentialStream>,
optimizemarkupsize: BOOL,
documenttype: XPS_DOCUMENT_TYPE,
) -> Result<()>;
}
Required Methods§
fn GetDocumentType(&self) -> Result<XPS_DOCUMENT_TYPE>
fn WriteToFile1( &self, filename: &PCWSTR, securityattributes: *const SECURITY_ATTRIBUTES, flagsandattributes: u32, optimizemarkupsize: BOOL, documenttype: XPS_DOCUMENT_TYPE, ) -> Result<()>
fn WriteToStream1( &self, outputstream: Option<&ISequentialStream>, optimizemarkupsize: BOOL, documenttype: XPS_DOCUMENT_TYPE, ) -> Result<()>
Object Safety§
This trait is not object safe.