windows::Win32::System::Search

Trait ISubscriptionMgr_Impl

pub trait ISubscriptionMgr_Impl: IUnknownImpl {
    // Required methods
    fn DeleteSubscription(&self, pwszurl: &PCWSTR, hwnd: HWND) -> Result<()>;
    fn UpdateSubscription(&self, pwszurl: &PCWSTR) -> Result<()>;
    fn UpdateAll(&self) -> Result<()>;
    fn IsSubscribed(&self, pwszurl: &PCWSTR) -> Result<BOOL>;
    fn GetSubscriptionInfo(
        &self,
        pwszurl: &PCWSTR,
        pinfo: *mut SUBSCRIPTIONINFO,
    ) -> Result<()>;
    fn GetDefaultInfo(
        &self,
        subtype: SUBSCRIPTIONTYPE,
        pinfo: *mut SUBSCRIPTIONINFO,
    ) -> Result<()>;
    fn ShowSubscriptionProperties(
        &self,
        pwszurl: &PCWSTR,
        hwnd: HWND,
    ) -> Result<()>;
    fn CreateSubscription(
        &self,
        hwnd: HWND,
        pwszurl: &PCWSTR,
        pwszfriendlyname: &PCWSTR,
        dwflags: u32,
        substype: SUBSCRIPTIONTYPE,
        pinfo: *mut SUBSCRIPTIONINFO,
    ) -> Result<()>;
}

Required Methods§

fn DeleteSubscription(&self, pwszurl: &PCWSTR, hwnd: HWND) -> Result<()>

fn UpdateSubscription(&self, pwszurl: &PCWSTR) -> Result<()>

fn UpdateAll(&self) -> Result<()>

fn IsSubscribed(&self, pwszurl: &PCWSTR) -> Result<BOOL>

fn GetSubscriptionInfo( &self, pwszurl: &PCWSTR, pinfo: *mut SUBSCRIPTIONINFO, ) -> Result<()>

fn GetDefaultInfo( &self, subtype: SUBSCRIPTIONTYPE, pinfo: *mut SUBSCRIPTIONINFO, ) -> Result<()>

fn ShowSubscriptionProperties(&self, pwszurl: &PCWSTR, hwnd: HWND) -> Result<()>

fn CreateSubscription( &self, hwnd: HWND, pwszurl: &PCWSTR, pwszfriendlyname: &PCWSTR, dwflags: u32, substype: SUBSCRIPTIONTYPE, pinfo: *mut SUBSCRIPTIONINFO, ) -> 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§