Trait windows::Win32::Graphics::Printing::IPrintCoreHelper_Impl
pub trait IPrintCoreHelper_Impl: Sized {
// Required methods
fn GetOption(
&self,
pdevmode: *const DEVMODEA,
cbsize: u32,
pszfeaturerequested: &PCSTR,
) -> Result<PCSTR>;
fn SetOptions(
&self,
pdevmode: *mut DEVMODEA,
cbsize: u32,
bresolveconflicts: BOOL,
pfopairs: *const PRINT_FEATURE_OPTION,
cpairs: u32,
pcpairswritten: *mut u32,
pdwresult: *mut u32,
) -> Result<()>;
fn EnumConstrainedOptions(
&self,
pdevmode: *const DEVMODEA,
cbsize: u32,
pszfeaturekeyword: &PCSTR,
pconstrainedoptionlist: *const *const *const PCSTR,
pdwnumoptions: *mut u32,
) -> Result<()>;
fn WhyConstrained(
&self,
pdevmode: *const DEVMODEA,
cbsize: u32,
pszfeaturekeyword: &PCSTR,
pszoptionkeyword: &PCSTR,
ppfoconstraints: *mut *mut PRINT_FEATURE_OPTION,
pdwnumoptions: *mut u32,
) -> Result<()>;
fn EnumFeatures(
&self,
pfeaturelist: *mut *mut *mut PCSTR,
pdwnumfeatures: *mut u32,
) -> Result<()>;
fn EnumOptions(
&self,
pszfeaturekeyword: &PCSTR,
poptionlist: *mut *mut *mut PCSTR,
pdwnumoptions: *mut u32,
) -> Result<()>;
fn GetFontSubstitution(
&self,
psztruetypefontname: &PCWSTR,
ppszdevfontname: *const PCWSTR,
) -> Result<()>;
fn SetFontSubstitution(
&self,
psztruetypefontname: &PCWSTR,
pszdevfontname: &PCWSTR,
) -> Result<()>;
fn CreateInstanceOfMSXMLObject(
&self,
rclsid: *const GUID,
punkouter: Option<&IUnknown>,
dwclscontext: u32,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
}
Required Methods§
fn GetOption( &self, pdevmode: *const DEVMODEA, cbsize: u32, pszfeaturerequested: &PCSTR, ) -> Result<PCSTR>
fn SetOptions( &self, pdevmode: *mut DEVMODEA, cbsize: u32, bresolveconflicts: BOOL, pfopairs: *const PRINT_FEATURE_OPTION, cpairs: u32, pcpairswritten: *mut u32, pdwresult: *mut u32, ) -> Result<()>
fn EnumConstrainedOptions( &self, pdevmode: *const DEVMODEA, cbsize: u32, pszfeaturekeyword: &PCSTR, pconstrainedoptionlist: *const *const *const PCSTR, pdwnumoptions: *mut u32, ) -> Result<()>
fn WhyConstrained( &self, pdevmode: *const DEVMODEA, cbsize: u32, pszfeaturekeyword: &PCSTR, pszoptionkeyword: &PCSTR, ppfoconstraints: *mut *mut PRINT_FEATURE_OPTION, pdwnumoptions: *mut u32, ) -> Result<()>
fn EnumFeatures( &self, pfeaturelist: *mut *mut *mut PCSTR, pdwnumfeatures: *mut u32, ) -> Result<()>
fn EnumOptions( &self, pszfeaturekeyword: &PCSTR, poptionlist: *mut *mut *mut PCSTR, pdwnumoptions: *mut u32, ) -> Result<()>
fn GetFontSubstitution( &self, psztruetypefontname: &PCWSTR, ppszdevfontname: *const PCWSTR, ) -> Result<()>
fn SetFontSubstitution( &self, psztruetypefontname: &PCWSTR, pszdevfontname: &PCWSTR, ) -> Result<()>
fn CreateInstanceOfMSXMLObject( &self, rclsid: *const GUID, punkouter: Option<&IUnknown>, dwclscontext: u32, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
Object Safety§
This trait is not object safe.