windows::Win32::System::RemoteDesktop

Trait ITsSbResourceNotificationEx_Impl

pub trait ITsSbResourceNotificationEx_Impl: IUnknownImpl {
    // Required methods
    fn NotifySessionChangeEx(
        &self,
        targetname: &BSTR,
        username: &BSTR,
        domain: &BSTR,
        sessionid: u32,
        sessionstate: TSSESSION_STATE,
    ) -> Result<()>;
    fn NotifyTargetChangeEx(
        &self,
        targetname: &BSTR,
        targetchangetype: u32,
    ) -> Result<()>;
    fn NotifyClientConnectionStateChangeEx(
        &self,
        username: &BSTR,
        domain: &BSTR,
        initialprogram: &BSTR,
        poolname: &BSTR,
        targetname: &BSTR,
        connectionchangetype: CONNECTION_CHANGE_NOTIFICATION,
    ) -> Result<()>;
}

Required Methods§

fn NotifySessionChangeEx( &self, targetname: &BSTR, username: &BSTR, domain: &BSTR, sessionid: u32, sessionstate: TSSESSION_STATE, ) -> Result<()>

fn NotifyTargetChangeEx( &self, targetname: &BSTR, targetchangetype: u32, ) -> Result<()>

fn NotifyClientConnectionStateChangeEx( &self, username: &BSTR, domain: &BSTR, initialprogram: &BSTR, poolname: &BSTR, targetname: &BSTR, connectionchangetype: CONNECTION_CHANGE_NOTIFICATION, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§