windows::Win32::UI::Shell

Trait IHandlerActivationHost_Impl

pub trait IHandlerActivationHost_Impl: IUnknownImpl {
    // Required methods
    fn BeforeCoCreateInstance(
        &self,
        clsidhandler: *const GUID,
        itemsbeingactivated: Ref<'_, IShellItemArray>,
        handlerinfo: Ref<'_, IHandlerInfo>,
    ) -> Result<()>;
    fn BeforeCreateProcess(
        &self,
        applicationpath: &PCWSTR,
        commandline: &PCWSTR,
        handlerinfo: Ref<'_, IHandlerInfo>,
    ) -> Result<()>;
}

Required Methods§

fn BeforeCoCreateInstance( &self, clsidhandler: *const GUID, itemsbeingactivated: Ref<'_, IShellItemArray>, handlerinfo: Ref<'_, IHandlerInfo>, ) -> Result<()>

fn BeforeCreateProcess( &self, applicationpath: &PCWSTR, commandline: &PCWSTR, handlerinfo: Ref<'_, IHandlerInfo>, ) -> 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§