pub trait INSNetSourceCreator_Impl: Sized {
// Required methods
fn Initialize(&self) -> Result<()>;
fn CreateNetSource(
&self,
pszstreamname: &PCWSTR,
pmonitor: Option<&IUnknown>,
pdata: *const u8,
pusercontext: Option<&IUnknown>,
pcallback: Option<&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: Option<&IUnknown>, pdata: *const u8, pusercontext: Option<&IUnknown>, pcallback: Option<&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<()>
Object Safety§
This trait is not object safe.