pub trait IPrinterScriptablePropertyBag_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) -> Result<IDispatch>;
    fn SetBytes(
        &self,
        bstrname: &BSTR,
        parray: Option<&IDispatch>,
    ) -> Result<()>;
    fn GetReadStream(&self, bstrname: &BSTR) -> Result<IPrinterScriptableStream>;
    fn GetWriteStream(
        &self,
        bstrname: &BSTR,
    ) -> Result<IPrinterScriptableStream>;
}

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) -> Result<IDispatch>

fn SetBytes(&self, bstrname: &BSTR, parray: Option<&IDispatch>) -> Result<()>

fn GetReadStream(&self, bstrname: &BSTR) -> Result<IPrinterScriptableStream>

fn GetWriteStream(&self, bstrname: &BSTR) -> Result<IPrinterScriptableStream>

Object Safety§

This trait is not object safe.

Implementors§