| Zitat: |
| The get_INetSharingConfigurationForINetConnection method retrieves an INetSharingConfiguration interface for the specified connection.
HRESULT get_INetSharingConfigurationForINetConnection( INetConnection* pNetConnection, INetSharingConfiguration** ppNetSharingConfiguration ); Parameters pNetConnection Pointer to an INetConnection interface for an Internet connection. ppNetSharingConfiguration [out] Pointer to an interface pointer that, on successful return, points to an INetSharingConfiguration interface for the connection specified by the pNetConnection parameter. |
| Zitat: |
| INetSharingConfiguration::EnableSharing
The EnableSharing method enables sharing on this connection. HRESULT EnableSharing( SHARINGCONNECTIONTYPE Type ); Parameters Type [in] Specifies whether this connection is shared publicly or privately. Values ICSSHARINGTYPE_PUBLIC The connection is public. ICSSHARINGTYPE_PRIVATE The connection is private. |
| Zitat: |
| INetSharingConfiguration::DisableSharing
The DisableSharing method disables sharing on this connection. It also disables all mappings on this connection. It does not disable Internet Connection Firewall or bridge configuration. HRESULT DisableSharing(); Parameters This method has no parameters. |
Entwickler-Ecke.de based on phpBB
Copyright 2002 - 2011 by Tino Teuber, Copyright 2011 - 2026 by Christian Stelzmann Alle Rechte vorbehalten.
Alle Beiträge stammen von dritten Personen und dürfen geltendes Recht nicht verletzen.
Entwickler-Ecke und die zugehörigen Webseiten distanzieren sich ausdrücklich von Fremdinhalten jeglicher Art!