windows::Win32::UI::Shell

Trait IFileDialogEvents_Impl

pub trait IFileDialogEvents_Impl: IUnknownImpl {
    // Required methods
    fn OnFileOk(&self, pfd: Ref<'_, IFileDialog>) -> Result<()>;
    fn OnFolderChanging(
        &self,
        pfd: Ref<'_, IFileDialog>,
        psifolder: Ref<'_, IShellItem>,
    ) -> Result<()>;
    fn OnFolderChange(&self, pfd: Ref<'_, IFileDialog>) -> Result<()>;
    fn OnSelectionChange(&self, pfd: Ref<'_, IFileDialog>) -> Result<()>;
    fn OnShareViolation(
        &self,
        pfd: Ref<'_, IFileDialog>,
        psi: Ref<'_, IShellItem>,
    ) -> Result<FDE_SHAREVIOLATION_RESPONSE>;
    fn OnTypeChange(&self, pfd: Ref<'_, IFileDialog>) -> Result<()>;
    fn OnOverwrite(
        &self,
        pfd: Ref<'_, IFileDialog>,
        psi: Ref<'_, IShellItem>,
    ) -> Result<FDE_OVERWRITE_RESPONSE>;
}

Required Methods§

fn OnFileOk(&self, pfd: Ref<'_, IFileDialog>) -> Result<()>

fn OnFolderChanging( &self, pfd: Ref<'_, IFileDialog>, psifolder: Ref<'_, IShellItem>, ) -> Result<()>

fn OnFolderChange(&self, pfd: Ref<'_, IFileDialog>) -> Result<()>

fn OnSelectionChange(&self, pfd: Ref<'_, IFileDialog>) -> Result<()>

fn OnShareViolation( &self, pfd: Ref<'_, IFileDialog>, psi: Ref<'_, IShellItem>, ) -> Result<FDE_SHAREVIOLATION_RESPONSE>

fn OnTypeChange(&self, pfd: Ref<'_, IFileDialog>) -> Result<()>

fn OnOverwrite( &self, pfd: Ref<'_, IFileDialog>, psi: Ref<'_, IShellItem>, ) -> Result<FDE_OVERWRITE_RESPONSE>

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§