windows::Win32::Media::WindowsMediaFormat

Trait IWMSInternalAdminNetSource_Impl

pub trait IWMSInternalAdminNetSource_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(
        &self,
        psharednamespace: Ref<'_, IUnknown>,
        pnamespacenode: Ref<'_, IUnknown>,
        pnetsourcecreator: Ref<'_, INSNetSourceCreator>,
        fembeddedinserver: BOOL,
    ) -> Result<()>;
    fn GetNetSourceCreator(&self) -> Result<INSNetSourceCreator>;
    fn SetCredentials(
        &self,
        bstrrealm: &BSTR,
        bstrname: &BSTR,
        bstrpassword: &BSTR,
        fpersist: BOOL,
        fconfirmedgood: BOOL,
    ) -> Result<()>;
    fn GetCredentials(
        &self,
        bstrrealm: &BSTR,
        pbstrname: *mut BSTR,
        pbstrpassword: *mut BSTR,
        pfconfirmedgood: *mut BOOL,
    ) -> Result<()>;
    fn DeleteCredentials(&self, bstrrealm: &BSTR) -> Result<()>;
    fn GetCredentialFlags(&self) -> Result<u32>;
    fn SetCredentialFlags(&self, dwflags: u32) -> Result<()>;
    fn FindProxyForURL(
        &self,
        bstrprotocol: &BSTR,
        bstrhost: &BSTR,
        pfproxyenabled: *mut BOOL,
        pbstrproxyserver: *mut BSTR,
        pdwproxyport: *mut u32,
        pdwproxycontext: *mut u32,
    ) -> Result<()>;
    fn RegisterProxyFailure(
        &self,
        hrparam: HRESULT,
        dwproxycontext: u32,
    ) -> Result<()>;
    fn ShutdownProxyContext(&self, dwproxycontext: u32) -> Result<()>;
    fn IsUsingIE(&self, dwproxycontext: u32) -> Result<BOOL>;
}

Required Methods§

fn Initialize( &self, psharednamespace: Ref<'_, IUnknown>, pnamespacenode: Ref<'_, IUnknown>, pnetsourcecreator: Ref<'_, INSNetSourceCreator>, fembeddedinserver: BOOL, ) -> Result<()>

fn GetNetSourceCreator(&self) -> Result<INSNetSourceCreator>

fn SetCredentials( &self, bstrrealm: &BSTR, bstrname: &BSTR, bstrpassword: &BSTR, fpersist: BOOL, fconfirmedgood: BOOL, ) -> Result<()>

fn GetCredentials( &self, bstrrealm: &BSTR, pbstrname: *mut BSTR, pbstrpassword: *mut BSTR, pfconfirmedgood: *mut BOOL, ) -> Result<()>

fn DeleteCredentials(&self, bstrrealm: &BSTR) -> Result<()>

fn GetCredentialFlags(&self) -> Result<u32>

fn SetCredentialFlags(&self, dwflags: u32) -> Result<()>

fn FindProxyForURL( &self, bstrprotocol: &BSTR, bstrhost: &BSTR, pfproxyenabled: *mut BOOL, pbstrproxyserver: *mut BSTR, pdwproxyport: *mut u32, pdwproxycontext: *mut u32, ) -> Result<()>

fn RegisterProxyFailure( &self, hrparam: HRESULT, dwproxycontext: u32, ) -> Result<()>

fn ShutdownProxyContext(&self, dwproxycontext: u32) -> Result<()>

fn IsUsingIE(&self, dwproxycontext: u32) -> Result<BOOL>

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§