windows::Win32::UI::LegacyWindowsEnvironmentFeatures

Trait IEmptyVolumeCache_Impl

pub trait IEmptyVolumeCache_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(
        &self,
        hkregkey: HKEY,
        pcwszvolume: &PCWSTR,
        ppwszdisplayname: *mut PWSTR,
        ppwszdescription: *mut PWSTR,
        pdwflags: *mut EMPTY_VOLUME_CACHE_FLAGS,
    ) -> Result<()>;
    fn GetSpaceUsed(
        &self,
        pdwlspaceused: *mut u64,
        picb: Ref<'_, IEmptyVolumeCacheCallBack>,
    ) -> Result<()>;
    fn Purge(
        &self,
        dwlspacetofree: u64,
        picb: Ref<'_, IEmptyVolumeCacheCallBack>,
    ) -> Result<()>;
    fn ShowProperties(&self, hwnd: HWND) -> Result<()>;
    fn Deactivate(&self) -> Result<EMPTY_VOLUME_CACHE_FLAGS>;
}

Required Methods§

fn Initialize( &self, hkregkey: HKEY, pcwszvolume: &PCWSTR, ppwszdisplayname: *mut PWSTR, ppwszdescription: *mut PWSTR, pdwflags: *mut EMPTY_VOLUME_CACHE_FLAGS, ) -> Result<()>

fn GetSpaceUsed( &self, pdwlspaceused: *mut u64, picb: Ref<'_, IEmptyVolumeCacheCallBack>, ) -> Result<()>

fn Purge( &self, dwlspacetofree: u64, picb: Ref<'_, IEmptyVolumeCacheCallBack>, ) -> Result<()>

fn ShowProperties(&self, hwnd: HWND) -> Result<()>

fn Deactivate(&self) -> Result<EMPTY_VOLUME_CACHE_FLAGS>

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§