ReactOS  0.4.15-dev-1171-gab82533
INetSharingConfiguration Interface Reference

import"netcon.idl";

Inheritance diagram for INetSharingConfiguration:
Collaboration diagram for INetSharingConfiguration:

Public Types

enum  tagSHARINGCONNECTIONTYPE { ICSSHARINGTYPE_PUBLIC, ICSSHARINGTYPE_PRIVATE }
 
enum  tagSHARINGCONNECTION_ENUM_FLAGS { ICSSC_DEFAULT, ICSSC_ENABLED }
 
enum  tagICS_TARGETTYPE { ICSTT_NAME, ICSTT_IPADDRESS }
 
typedef enum INetSharingConfiguration::tagSHARINGCONNECTIONTYPE SHARINGCONNECTIONTYPE
 
typedef enum INetSharingConfiguration::tagSHARINGCONNECTIONTYPELPSHARINGCONNECTIONTYPE
 
typedef enum INetSharingConfiguration::tagSHARINGCONNECTION_ENUM_FLAGS SHARINGCONNECTION_ENUM_FLAGS
 
typedef enum INetSharingConfiguration::tagICS_TARGETTYPE ICS_TARGETTYPE
 
- Public Types inherited from IDispatch
typedef IDispatchLPDISPATCH
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Public Member Functions

HRESULT DisableSharing ()
 
HRESULT EnableSharing ([in] SHARINGCONNECTIONTYPE Type)
 
HRESULT DisableInternetFirewall ()
 
HRESULT EnableInternetFirewall ()
 
HRESULT AddPortMapping ([in] BSTR bstrName, [in] UCHAR ucIPProtocol, [in] USHORT usExternalPort, [in] USHORT usInternalPort, [in] DWORD dwOptions, [in] BSTR bstrTargetNameOrIPAddress, [in] ICS_TARGETTYPE eTargetType, [out, retval] INetSharingPortMapping **ppMapping)
 
HRESULT RemovePortMapping ([in] INetSharingPortMapping *pMapping)
 
- Public Member Functions inherited from IDispatch
HRESULT GetTypeInfoCount ([out] UINT *pctinfo)
 
HRESULT GetTypeInfo ([in] UINT iTInfo, [in] LCID lcid, [out] ITypeInfo **ppTInfo)
 
HRESULT GetIDsOfNames ([in] REFIID riid, [in, size_is(cNames)] LPOLESTR *rgszNames, [in] UINT cNames, [in] LCID lcid, [out, size_is(cNames)] DISPID *rgDispId)
 
HRESULT Invoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] WORD wFlags, [in, out] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *puArgErr)
 
HRESULT RemoteInvoke ([in] DISPID dispIdMember, [in] REFIID riid, [in] LCID lcid, [in] DWORD dwFlags, [in] DISPPARAMS *pDispParams, [out] VARIANT *pVarResult, [out] EXCEPINFO *pExcepInfo, [out] UINT *pArgErr, [in] UINT cVarRef, [in, size_is(cVarRef)] UINT *rgVarRefIdx, [in, out, size_is(cVarRef)] VARIANTARG *rgVarRef)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Properties

VARIANT_BOOL SharingEnabled [get]
 
SHARINGCONNECTIONTYPE SharingConnectionType [get]
 
VARIANT_BOOL InternetFirewallEnabled [get]
 
INetSharingPortMappingCollection EnumPortMappings ([in] SHARINGCONNECTION_ENUM_FLAGS Flags) [get]
 

Additional Inherited Members

- Public Attributes inherited from IDispatch
const DISPID DISPID_UNKNOWN = -1
 
const DISPID DISPID_VALUE = 0
 
const DISPID DISPID_PROPERTYPUT = -3
 
const DISPID DISPID_NEWENUM = -4
 
const DISPID DISPID_EVALUATE = -5
 
const DISPID DISPID_CONSTRUCTOR = -6
 
const DISPID DISPID_DESTRUCTOR = -7
 
const DISPID DISPID_COLLECT = -8
 

Detailed Description

Definition at line 206 of file netcon.idl.

Member Typedef Documentation

◆ ICS_TARGETTYPE

◆ LPSHARINGCONNECTIONTYPE

◆ SHARINGCONNECTION_ENUM_FLAGS

◆ SHARINGCONNECTIONTYPE

Member Enumeration Documentation

◆ tagICS_TARGETTYPE

Enumerator
ICSTT_NAME 
ICSTT_IPADDRESS 

Definition at line 218 of file netcon.idl.

◆ tagSHARINGCONNECTION_ENUM_FLAGS

Enumerator
ICSSC_DEFAULT 
ICSSC_ENABLED 

Definition at line 213 of file netcon.idl.

213  {
enum INetSharingConfiguration::tagSHARINGCONNECTION_ENUM_FLAGS SHARINGCONNECTION_ENUM_FLAGS

◆ tagSHARINGCONNECTIONTYPE

Enumerator
ICSSHARINGTYPE_PUBLIC 
ICSSHARINGTYPE_PRIVATE 

Definition at line 208 of file netcon.idl.

208  {
enum INetSharingConfiguration::tagSHARINGCONNECTIONTYPE SHARINGCONNECTIONTYPE
enum INetSharingConfiguration::tagSHARINGCONNECTIONTYPE * LPSHARINGCONNECTIONTYPE

Member Function Documentation

◆ AddPortMapping()

HRESULT INetSharingConfiguration::AddPortMapping ( [in] BSTR  bstrName,
[in] UCHAR  ucIPProtocol,
[in] USHORT  usExternalPort,
[in] USHORT  usInternalPort,
[in] DWORD  dwOptions,
[in] BSTR  bstrTargetNameOrIPAddress,
[in] ICS_TARGETTYPE  eTargetType,
[out, retval] INetSharingPortMapping **  ppMapping 
)

◆ DisableInternetFirewall()

HRESULT INetSharingConfiguration::DisableInternetFirewall ( )

◆ DisableSharing()

HRESULT INetSharingConfiguration::DisableSharing ( )

◆ EnableInternetFirewall()

HRESULT INetSharingConfiguration::EnableInternetFirewall ( )

◆ EnableSharing()

HRESULT INetSharingConfiguration::EnableSharing ( [in] SHARINGCONNECTIONTYPE  Type)

◆ RemovePortMapping()

HRESULT INetSharingConfiguration::RemovePortMapping ( [in] INetSharingPortMapping pMapping)

Property Documentation

◆ EnumPortMappings

INetSharingPortMappingCollection INetSharingConfiguration::EnumPortMappings([in] SHARINGCONNECTION_ENUM_FLAGS Flags)
get

◆ InternetFirewallEnabled

VARIANT_BOOL INetSharingConfiguration::InternetFirewallEnabled
get

◆ SharingConnectionType

SHARINGCONNECTIONTYPE INetSharingConfiguration::SharingConnectionType
get

◆ SharingEnabled

VARIANT_BOOL INetSharingConfiguration::SharingEnabled
get

The documentation for this interface was generated from the following file: