windows::Win32::Storage::VirtualDiskService

Trait IVdsProviderPrivate_Impl

pub trait IVdsProviderPrivate_Impl: IUnknownImpl {
    // Required methods
    fn GetObject(
        &self,
        objectid: &GUID,
        type: VDS_OBJECT_TYPE,
    ) -> Result<IUnknown>;
    fn OnLoad(
        &self,
        pwszmachinename: &PCWSTR,
        pcallbackobject: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn OnUnload(&self, bforceunload: BOOL) -> Result<()>;
}

Required Methods§

fn GetObject(&self, objectid: &GUID, type: VDS_OBJECT_TYPE) -> Result<IUnknown>

fn OnLoad( &self, pwszmachinename: &PCWSTR, pcallbackobject: Ref<'_, IUnknown>, ) -> Result<()>

fn OnUnload(&self, bforceunload: BOOL) -> 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§