Trait windows::Win32::Devices::Tapi::IMcastAddressAllocation_Impl
pub trait IMcastAddressAllocation_Impl: Sized + IDispatch_Impl {
// Required methods
fn Scopes(&self) -> Result<VARIANT>;
fn EnumerateScopes(&self) -> Result<IEnumMcastScope>;
fn RequestAddress(
&self,
pscope: Option<&IMcastScope>,
leasestarttime: f64,
leasestoptime: f64,
numaddresses: i32,
) -> Result<IMcastLeaseInfo>;
fn RenewAddress(
&self,
lreserved: i32,
prenewrequest: Option<&IMcastLeaseInfo>,
) -> Result<IMcastLeaseInfo>;
fn ReleaseAddress(
&self,
preleaserequest: Option<&IMcastLeaseInfo>,
) -> Result<()>;
fn CreateLeaseInfo(
&self,
leasestarttime: f64,
leasestoptime: f64,
dwnumaddresses: u32,
ppaddresses: *const PCWSTR,
prequestid: &PCWSTR,
pserveraddress: &PCWSTR,
) -> Result<IMcastLeaseInfo>;
fn CreateLeaseInfoFromVariant(
&self,
leasestarttime: f64,
leasestoptime: f64,
vaddresses: &VARIANT,
prequestid: &BSTR,
pserveraddress: &BSTR,
) -> Result<IMcastLeaseInfo>;
}
Required Methods§
fn Scopes(&self) -> Result<VARIANT>
fn EnumerateScopes(&self) -> Result<IEnumMcastScope>
fn RequestAddress( &self, pscope: Option<&IMcastScope>, leasestarttime: f64, leasestoptime: f64, numaddresses: i32, ) -> Result<IMcastLeaseInfo>
fn RenewAddress( &self, lreserved: i32, prenewrequest: Option<&IMcastLeaseInfo>, ) -> Result<IMcastLeaseInfo>
fn ReleaseAddress( &self, preleaserequest: Option<&IMcastLeaseInfo>, ) -> Result<()>
fn CreateLeaseInfo( &self, leasestarttime: f64, leasestoptime: f64, dwnumaddresses: u32, ppaddresses: *const PCWSTR, prequestid: &PCWSTR, pserveraddress: &PCWSTR, ) -> Result<IMcastLeaseInfo>
fn CreateLeaseInfoFromVariant( &self, leasestarttime: f64, leasestoptime: f64, vaddresses: &VARIANT, prequestid: &BSTR, pserveraddress: &BSTR, ) -> Result<IMcastLeaseInfo>
Object Safety§
This trait is not object safe.