pub trait IWindowsMediaLibrarySharingServices_Impl: Sized + IDispatch_Impl {
Show 19 methods
// Required methods
fn showShareMediaCPL(&self, device: &BSTR) -> Result<()>;
fn userHomeMediaSharingState(&self) -> Result<VARIANT_BOOL>;
fn SetuserHomeMediaSharingState(
&self,
sharingenabled: VARIANT_BOOL,
) -> Result<()>;
fn userHomeMediaSharingLibraryName(&self) -> Result<BSTR>;
fn SetuserHomeMediaSharingLibraryName(
&self,
libraryname: &BSTR,
) -> Result<()>;
fn computerHomeMediaSharingAllowedState(&self) -> Result<VARIANT_BOOL>;
fn SetcomputerHomeMediaSharingAllowedState(
&self,
sharingallowed: VARIANT_BOOL,
) -> Result<()>;
fn userInternetMediaSharingState(&self) -> Result<VARIANT_BOOL>;
fn SetuserInternetMediaSharingState(
&self,
sharingenabled: VARIANT_BOOL,
) -> Result<()>;
fn computerInternetMediaSharingAllowedState(&self) -> Result<VARIANT_BOOL>;
fn SetcomputerInternetMediaSharingAllowedState(
&self,
sharingallowed: VARIANT_BOOL,
) -> Result<()>;
fn internetMediaSharingSecurityGroup(&self) -> Result<BSTR>;
fn SetinternetMediaSharingSecurityGroup(
&self,
securitygroup: &BSTR,
) -> Result<()>;
fn allowSharingToAllDevices(&self) -> Result<VARIANT_BOOL>;
fn SetallowSharingToAllDevices(
&self,
sharingenabled: VARIANT_BOOL,
) -> Result<()>;
fn setDefaultAuthorization(
&self,
macaddresses: &BSTR,
friendlyname: &BSTR,
authorization: VARIANT_BOOL,
) -> Result<()>;
fn setAuthorizationState(
&self,
macaddress: &BSTR,
authorizationstate: VARIANT_BOOL,
) -> Result<()>;
fn getAllDevices(&self) -> Result<IWindowsMediaLibrarySharingDevices>;
fn customSettingsApplied(&self) -> Result<VARIANT_BOOL>;
}
Required Methods§
fn userHomeMediaSharingState(&self) -> Result<VARIANT_BOOL>
fn SetuserHomeMediaSharingState( &self, sharingenabled: VARIANT_BOOL, ) -> Result<()>
fn userHomeMediaSharingLibraryName(&self) -> Result<BSTR>
fn SetuserHomeMediaSharingLibraryName(&self, libraryname: &BSTR) -> Result<()>
fn computerHomeMediaSharingAllowedState(&self) -> Result<VARIANT_BOOL>
fn SetcomputerHomeMediaSharingAllowedState( &self, sharingallowed: VARIANT_BOOL, ) -> Result<()>
fn userInternetMediaSharingState(&self) -> Result<VARIANT_BOOL>
fn SetuserInternetMediaSharingState( &self, sharingenabled: VARIANT_BOOL, ) -> Result<()>
fn computerInternetMediaSharingAllowedState(&self) -> Result<VARIANT_BOOL>
fn SetcomputerInternetMediaSharingAllowedState( &self, sharingallowed: VARIANT_BOOL, ) -> Result<()>
fn internetMediaSharingSecurityGroup(&self) -> Result<BSTR>
fn SetinternetMediaSharingSecurityGroup( &self, securitygroup: &BSTR, ) -> Result<()>
fn allowSharingToAllDevices(&self) -> Result<VARIANT_BOOL>
fn SetallowSharingToAllDevices( &self, sharingenabled: VARIANT_BOOL, ) -> Result<()>
fn setDefaultAuthorization( &self, macaddresses: &BSTR, friendlyname: &BSTR, authorization: VARIANT_BOOL, ) -> Result<()>
fn setAuthorizationState( &self, macaddress: &BSTR, authorizationstate: VARIANT_BOOL, ) -> Result<()>
fn getAllDevices(&self) -> Result<IWindowsMediaLibrarySharingDevices>
fn customSettingsApplied(&self) -> Result<VARIANT_BOOL>
Object Safety§
This trait is not object safe.