/*
* Copyright 2009 Jacek Caban for CodeWeavers
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
import "oaidl.idl";
import "unknwn.idl";
import "wtypes.idl";
/* import "prsht.idl"; */
cpp_quote("DEFINE_GUID(CLSID_NetSharingManager,0x5c63c1ad,0x3956,0x4ff8,0x84,0x86,0x40,0x03,0x47,0x58,0x31,0x5b);")
[
]
interface INetConnection : IUnknown
{
{
NCCF_NONE = 0x0000,
NCCF_ALL_USERS = 0x0001,
NCCF_ALLOW_DUPLICATION = 0x0002,
NCCF_ALLOW_REMOVAL = 0x0004,
NCCF_ALLOW_RENAME = 0x0008,
NCCF_INCOMING_ONLY = 0x0020,
NCCF_OUTGOING_ONLY = 0x0040,
NCCF_BRANDED = 0x0080,
NCCF_SHARED = 0x0100,
NCCF_BRIDGED = 0x0200,
NCCF_FIREWALLED = 0x0400,
NCCF_DEFAULT = 0x0800,
NCCF_HOMENET_CAPABLE = 0x1000,
NCCF_SHARED_PRIVATE = 0x2000,
NCCF_QUARANTINED = 0x4000,
NCCF_RESERVED = 0x8000,
NCCF_BLUETOOTH_MASK = 0x000F0000,
NCCF_LAN_MASK = 0x00F00000
typedef enum tagNETCON_STATUS
{
typedef enum tagNETCON_TYPE
{
} NETCON_TYPE;
{
{
}
[
dual,
]
interface INetSharingPortMappingProps : IDispatch
{
}
[
dual,
]
interface INetSharingPortMapping : IDispatch
{
[id(1)]
[id(2)]
[id(4)]
};
[
dual,
]
interface INetSharingPortMappingCollection : IDispatch
{
}
[
dual,
]
interface INetSharingConfiguration : IDispatch
{
typedef enum tagSHARINGCONNECTIONTYPE {
typedef enum tagICS_TARGETTYPE {
[id(3)]
[id(4)]
[id(6)]
[id(7)]
[id(9)]
[id(10)]
}
[
]
interface IEnumNetSharingPublicConnection : IUnknown
{
}
[
]
interface IEnumNetSharingPrivateConnection : IUnknown
{
}
[
dual,
]
interface INetConnectionProps : IDispatch
{
}
[
dual,
]
interface INetSharingPublicConnectionCollection : IDispatch
{
}
[
dual,
]
interface INetSharingEveryConnectionCollection : IDispatch
{
}
[
dual,
]
interface INetSharingPrivateConnectionCollection : IDispatch
{
}
[
dual,
]
interface INetSharingManager : IDispatch
{
}