pub trait IWCNDevice_Impl: Sized {
// Required methods
fn SetPassword(
&self,
type: WCN_PASSWORD_TYPE,
dwpasswordlength: u32,
pbpassword: *const u8
) -> Result<()>;
fn Connect(&self, pnotify: Option<&IWCNConnectNotify>) -> Result<()>;
fn GetAttribute(
&self,
attributetype: WCN_ATTRIBUTE_TYPE,
dwmaxbuffersize: u32,
pbbuffer: *mut u8,
pdwbufferused: *mut u32
) -> Result<()>;
fn GetIntegerAttribute(
&self,
attributetype: WCN_ATTRIBUTE_TYPE
) -> Result<u32>;
fn GetStringAttribute(
&self,
attributetype: WCN_ATTRIBUTE_TYPE,
cchmaxstring: u32,
wszstring: PWSTR
) -> Result<()>;
fn GetNetworkProfile(
&self,
cchmaxstringlength: u32,
wszprofile: PWSTR
) -> Result<()>;
fn SetNetworkProfile(&self, pszprofilexml: &PCWSTR) -> Result<()>;
fn GetVendorExtension(
&self,
pvendorextspec: *const WCN_VENDOR_EXTENSION_SPEC,
dwmaxbuffersize: u32,
pbbuffer: *mut u8,
pdwbufferused: *mut u32
) -> Result<()>;
fn SetVendorExtension(
&self,
pvendorextspec: *const WCN_VENDOR_EXTENSION_SPEC,
cbbuffer: u32,
pbbuffer: *const u8
) -> Result<()>;
fn Unadvise(&self) -> Result<()>;
fn SetNFCPasswordParams(
&self,
type: WCN_PASSWORD_TYPE,
dwoobpasswordid: u32,
dwpasswordlength: u32,
pbpassword: *const u8,
dwremotepublickeyhashlength: u32,
pbremotepublickeyhash: *const u8,
dwdhkeybloblength: u32,
pbdhkeyblob: *const u8
) -> Result<()>;
}
Required Methods§
fn SetPassword( &self, type: WCN_PASSWORD_TYPE, dwpasswordlength: u32, pbpassword: *const u8 ) -> Result<()>
fn Connect(&self, pnotify: Option<&IWCNConnectNotify>) -> Result<()>
fn GetAttribute( &self, attributetype: WCN_ATTRIBUTE_TYPE, dwmaxbuffersize: u32, pbbuffer: *mut u8, pdwbufferused: *mut u32 ) -> Result<()>
fn GetIntegerAttribute(&self, attributetype: WCN_ATTRIBUTE_TYPE) -> Result<u32>
fn GetStringAttribute( &self, attributetype: WCN_ATTRIBUTE_TYPE, cchmaxstring: u32, wszstring: PWSTR ) -> Result<()>
fn GetNetworkProfile( &self, cchmaxstringlength: u32, wszprofile: PWSTR ) -> Result<()>
fn SetNetworkProfile(&self, pszprofilexml: &PCWSTR) -> Result<()>
fn GetVendorExtension( &self, pvendorextspec: *const WCN_VENDOR_EXTENSION_SPEC, dwmaxbuffersize: u32, pbbuffer: *mut u8, pdwbufferused: *mut u32 ) -> Result<()>
fn SetVendorExtension( &self, pvendorextspec: *const WCN_VENDOR_EXTENSION_SPEC, cbbuffer: u32, pbbuffer: *const u8 ) -> Result<()>
fn Unadvise(&self) -> Result<()>
fn SetNFCPasswordParams( &self, type: WCN_PASSWORD_TYPE, dwoobpasswordid: u32, dwpasswordlength: u32, pbpassword: *const u8, dwremotepublickeyhashlength: u32, pbremotepublickeyhash: *const u8, dwdhkeybloblength: u32, pbdhkeyblob: *const u8 ) -> Result<()>
Object Safety§
This trait is not object safe.