Trait windows::Win32::UI::Shell::IFileDialogEvents_Impl

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

Required Methods§

fn OnFileOk(&self, pfd: Option<&IFileDialog>) -> Result<()>

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

fn OnFolderChange(&self, pfd: Option<&IFileDialog>) -> Result<()>

fn OnSelectionChange(&self, pfd: Option<&IFileDialog>) -> Result<()>

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

fn OnTypeChange(&self, pfd: Option<&IFileDialog>) -> Result<()>

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

Object Safety§

This trait is not object safe.

Implementors§