Trait INSNetSourceCreator_Impl
pub trait INSNetSourceCreator_Impl: IUnknownImpl {
// Required methods
fn Initialize(&self) -> Result<()>;
fn CreateNetSource(
&self,
pszstreamname: &PCWSTR,
pmonitor: Ref<'_, IUnknown>,
pdata: *const u8,
pusercontext: Ref<'_, IUnknown>,
pcallback: Ref<'_, IUnknown>,
qwcontext: u64,
) -> Result<()>;
fn GetNetSourceProperties(&self, pszstreamname: &PCWSTR) -> Result<IUnknown>;
fn GetNetSourceSharedNamespace(&self) -> Result<IUnknown>;
fn GetNetSourceAdminInterface(
&self,
pszstreamname: &PCWSTR,
) -> Result<VARIANT>;
fn GetNumProtocolsSupported(&self) -> Result<u32>;
fn GetProtocolName(
&self,
dwprotocolnum: u32,
pwszprotocolname: PWSTR,
pcchprotocolname: *mut u16,
) -> Result<()>;
fn Shutdown(&self) -> Result<()>;
}
Required Methods§
fn Initialize(&self) -> Result<()>
fn CreateNetSource( &self, pszstreamname: &PCWSTR, pmonitor: Ref<'_, IUnknown>, pdata: *const u8, pusercontext: Ref<'_, IUnknown>, pcallback: Ref<'_, IUnknown>, qwcontext: u64, ) -> Result<()>
fn GetNetSourceProperties(&self, pszstreamname: &PCWSTR) -> Result<IUnknown>
fn GetNetSourceAdminInterface(&self, pszstreamname: &PCWSTR) -> Result<VARIANT>
fn GetNumProtocolsSupported(&self) -> Result<u32>
fn GetProtocolName( &self, dwprotocolnum: u32, pwszprotocolname: PWSTR, pcchprotocolname: *mut u16, ) -> Result<()>
fn Shutdown(&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.