windows::Win32::UI::Shell

Trait ISharingConfigurationManager_Impl

pub trait ISharingConfigurationManager_Impl: IUnknownImpl {
    // Required methods
    fn CreateShare(&self, dsid: DEF_SHARE_ID, role: SHARE_ROLE) -> Result<()>;
    fn DeleteShare(&self, dsid: DEF_SHARE_ID) -> Result<()>;
    fn ShareExists(&self, dsid: DEF_SHARE_ID) -> Result<()>;
    fn GetSharePermissions(&self, dsid: DEF_SHARE_ID) -> Result<SHARE_ROLE>;
    fn SharePrinters(&self) -> Result<()>;
    fn StopSharingPrinters(&self) -> Result<()>;
    fn ArePrintersShared(&self) -> Result<()>;
}

Required Methods§

fn CreateShare(&self, dsid: DEF_SHARE_ID, role: SHARE_ROLE) -> Result<()>

fn DeleteShare(&self, dsid: DEF_SHARE_ID) -> Result<()>

fn ShareExists(&self, dsid: DEF_SHARE_ID) -> Result<()>

fn GetSharePermissions(&self, dsid: DEF_SHARE_ID) -> Result<SHARE_ROLE>

fn SharePrinters(&self) -> Result<()>

fn StopSharingPrinters(&self) -> Result<()>

fn ArePrintersShared(&self) -> 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§