Trait windows::Win32::Graphics::Printing::IPrinterPropertyBag_Impl
pub trait IPrinterPropertyBag_Impl: Sized + IDispatch_Impl {
// Required methods
fn GetBool(&self, bstrname: &BSTR) -> Result<BOOL>;
fn SetBool(&self, bstrname: &BSTR, bvalue: BOOL) -> Result<()>;
fn GetInt32(&self, bstrname: &BSTR) -> Result<i32>;
fn SetInt32(&self, bstrname: &BSTR, nvalue: i32) -> Result<()>;
fn GetString(&self, bstrname: &BSTR) -> Result<BSTR>;
fn SetString(&self, bstrname: &BSTR, bstrvalue: &BSTR) -> Result<()>;
fn GetBytes(
&self,
bstrname: &BSTR,
pcbvalue: *mut u32,
ppvalue: *mut *mut u8,
) -> Result<()>;
fn SetBytes(
&self,
bstrname: &BSTR,
cbvalue: u32,
pvalue: *const u8,
) -> Result<()>;
fn GetReadStream(&self, bstrname: &BSTR) -> Result<IStream>;
fn GetWriteStream(&self, bstrname: &BSTR) -> Result<IStream>;
}
Required Methods§
fn GetBool(&self, bstrname: &BSTR) -> Result<BOOL>
fn SetBool(&self, bstrname: &BSTR, bvalue: BOOL) -> Result<()>
fn GetInt32(&self, bstrname: &BSTR) -> Result<i32>
fn SetInt32(&self, bstrname: &BSTR, nvalue: i32) -> Result<()>
fn GetString(&self, bstrname: &BSTR) -> Result<BSTR>
fn SetString(&self, bstrname: &BSTR, bstrvalue: &BSTR) -> Result<()>
fn GetBytes( &self, bstrname: &BSTR, pcbvalue: *mut u32, ppvalue: *mut *mut u8, ) -> Result<()>
fn SetBytes( &self, bstrname: &BSTR, cbvalue: u32, pvalue: *const u8, ) -> Result<()>
fn GetReadStream(&self, bstrname: &BSTR) -> Result<IStream>
fn GetWriteStream(&self, bstrname: &BSTR) -> Result<IStream>
Object Safety§
This trait is not object safe.