Struct INetSharingConfiguration_Vtbl
#[repr(C)]pub struct INetSharingConfiguration_Vtbl {
pub base__: IDispatch_Vtbl,
pub SharingEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT,
pub SharingConnectionType: unsafe extern "system" fn(_: *mut c_void, _: *mut SHARINGCONNECTIONTYPE) -> HRESULT,
pub DisableSharing: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub EnableSharing: unsafe extern "system" fn(_: *mut c_void, _: SHARINGCONNECTIONTYPE) -> HRESULT,
pub InternetFirewallEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT,
pub DisableInternetFirewall: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub EnableInternetFirewall: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub get_EnumPortMappings: unsafe extern "system" fn(_: *mut c_void, _: SHARINGCONNECTION_ENUM_FLAGS, _: *mut *mut c_void) -> HRESULT,
pub AddPortMapping: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u8, _: u16, _: u16, _: u32, _: *mut c_void, _: ICS_TARGETTYPE, _: *mut *mut c_void) -> HRESULT,
pub RemovePortMapping: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}
Fields§
§base__: IDispatch_Vtbl
§SharingEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT
§SharingConnectionType: unsafe extern "system" fn(_: *mut c_void, _: *mut SHARINGCONNECTIONTYPE) -> HRESULT
§DisableSharing: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§EnableSharing: unsafe extern "system" fn(_: *mut c_void, _: SHARINGCONNECTIONTYPE) -> HRESULT
§InternetFirewallEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut VARIANT_BOOL) -> HRESULT
§DisableInternetFirewall: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§EnableInternetFirewall: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§get_EnumPortMappings: unsafe extern "system" fn(_: *mut c_void, _: SHARINGCONNECTION_ENUM_FLAGS, _: *mut *mut c_void) -> HRESULT
§AddPortMapping: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u8, _: u16, _: u16, _: u32, _: *mut c_void, _: ICS_TARGETTYPE, _: *mut *mut c_void) -> HRESULT
§RemovePortMapping: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
Implementations§
§impl INetSharingConfiguration_Vtbl
impl INetSharingConfiguration_Vtbl
pub const fn new<Identity: INetSharingConfiguration_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for INetSharingConfiguration_Vtbl
impl RefUnwindSafe for INetSharingConfiguration_Vtbl
impl Send for INetSharingConfiguration_Vtbl
impl Sync for INetSharingConfiguration_Vtbl
impl Unpin for INetSharingConfiguration_Vtbl
impl UnwindSafe for INetSharingConfiguration_Vtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more