Trait windows::Win32::Devices::Enumeration::Pnp::IUPnPService_Impl

pub trait IUPnPService_Impl: Sized + IDispatch_Impl {
    // Required methods
    fn QueryStateVariable(&self, bstrvariablename: &BSTR) -> Result<VARIANT>;
    fn InvokeAction(
        &self,
        bstractionname: &BSTR,
        vinactionargs: &VARIANT,
        pvoutactionargs: *mut VARIANT,
    ) -> Result<VARIANT>;
    fn ServiceTypeIdentifier(&self) -> Result<BSTR>;
    fn AddCallback(&self, punkcallback: Option<&IUnknown>) -> Result<()>;
    fn Id(&self) -> Result<BSTR>;
    fn LastTransportStatus(&self) -> Result<i32>;
}

Required Methods§

fn QueryStateVariable(&self, bstrvariablename: &BSTR) -> Result<VARIANT>

fn InvokeAction( &self, bstractionname: &BSTR, vinactionargs: &VARIANT, pvoutactionargs: *mut VARIANT, ) -> Result<VARIANT>

fn ServiceTypeIdentifier(&self) -> Result<BSTR>

fn AddCallback(&self, punkcallback: Option<&IUnknown>) -> Result<()>

fn Id(&self) -> Result<BSTR>

fn LastTransportStatus(&self) -> Result<i32>

Object Safety§

This trait is not object safe.

Implementors§