ReactOS 0.4.15-dev-8413-gc1c91f2
INetConnection Interface Reference
Inheritance diagram for INetConnection:
Collaboration diagram for INetConnection:

Classes

struct  tagNETCON_PROPERTIES
 

Public Types

enum  tagNETCON_CHARACTERISTIC_FLAGS {
  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
}
 
enum  tagNETCON_STATUS {
  NCS_DISCONNECTED , NCS_CONNECTING , NCS_CONNECTED , NCS_DISCONNECTING ,
  NCS_HARDWARE_NOT_PRESENT , NCS_HARDWARE_DISABLED , NCS_HARDWARE_MALFUNCTION , NCS_MEDIA_DISCONNECTED ,
  NCS_AUTHENTICATING , NCS_AUTHENTICATION_SUCCEEDED , NCS_AUTHENTICATION_FAILED , NCS_INVALID_ADDRESS ,
  NCS_CREDENTIALS_REQUIRED
}
 
enum  tagNETCON_TYPE {
  NCT_DIRECT_CONNECT , NCT_INBOUND , NCT_INTERNET , NCT_LAN ,
  NCT_PHONE , NCT_TUNNEL , NCT_BRIDGE
}
 
enum  tagNETCON_MEDIATYPE {
  NCM_NONE , NCM_DIRECT , NCM_ISDN , NCM_LAN ,
  NCM_PHONE , NCM_TUNNEL , NCM_PPPOE , NCM_BRIDGE ,
  NCM_SHAREDACCESSHOST_LAN , NCM_SHAREDACCESSHOST_RAS
}
 
typedef enum INetConnection::tagNETCON_CHARACTERISTIC_FLAGS NETCON_CHARACTERISTIC_FLAGS
 
typedef enum INetConnection::tagNETCON_STATUS NETCON_STATUS
 
typedef enum INetConnection::tagNETCON_TYPE NETCON_TYPE
 
typedef enum INetConnection::tagNETCON_MEDIATYPE NETCON_MEDIATYPE
 
typedef struct INetConnection::tagNETCON_PROPERTIES NETCON_PROPERTIES
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Public Member Functions

HRESULT Connect ()
 
HRESULT Disconnect ()
 
HRESULT Delete ()
 
HRESULT Duplicate ([in, string] LPCWSTR pszwDuplicateName, [out] INetConnection **ppCon)
 
HRESULT GetProperties ([out] NETCON_PROPERTIES **ppProps)
 
HRESULT GetUiObjectClassId ([out, ref] CLSID *pclsid)
 
HRESULT Rename ([in, string] LPCWSTR pszwNewName)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Detailed Description

Definition at line 33 of file netcon.idl.

Member Typedef Documentation

◆ NETCON_CHARACTERISTIC_FLAGS

◆ NETCON_MEDIATYPE

◆ NETCON_PROPERTIES

◆ NETCON_STATUS

◆ NETCON_TYPE

Member Enumeration Documentation

◆ tagNETCON_CHARACTERISTIC_FLAGS

Enumerator
NCCF_NONE 
NCCF_ALL_USERS 
NCCF_ALLOW_DUPLICATION 
NCCF_ALLOW_REMOVAL 
NCCF_ALLOW_RENAME 
NCCF_INCOMING_ONLY 
NCCF_OUTGOING_ONLY 
NCCF_BRANDED 
NCCF_SHARED 
NCCF_BRIDGED 
NCCF_FIREWALLED 
NCCF_DEFAULT 
NCCF_HOMENET_CAPABLE 
NCCF_SHARED_PRIVATE 
NCCF_QUARANTINED 
NCCF_RESERVED 
NCCF_BLUETOOTH_MASK 
NCCF_LAN_MASK 

Definition at line 35 of file netcon.idl.

36 {
37 NCCF_NONE = 0x0000,
38 NCCF_ALL_USERS = 0x0001,
40 NCCF_ALLOW_REMOVAL = 0x0004,
41 NCCF_ALLOW_RENAME = 0x0008,
42 NCCF_INCOMING_ONLY = 0x0020,
43 NCCF_OUTGOING_ONLY = 0x0040,
44 NCCF_BRANDED = 0x0080,
45 NCCF_SHARED = 0x0100,
46 NCCF_BRIDGED = 0x0200,
47 NCCF_FIREWALLED = 0x0400,
48 NCCF_DEFAULT = 0x0800,
49 NCCF_HOMENET_CAPABLE = 0x1000,
50 NCCF_SHARED_PRIVATE = 0x2000,
51 NCCF_QUARANTINED = 0x4000,
52 NCCF_RESERVED = 0x8000,
53 NCCF_BLUETOOTH_MASK = 0x000F0000,
54 NCCF_LAN_MASK = 0x00F00000
@ NCCF_SHARED_PRIVATE
Definition: netcon.idl:50
@ NCCF_QUARANTINED
Definition: netcon.idl:51
@ NCCF_OUTGOING_ONLY
Definition: netcon.idl:43
@ NCCF_ALLOW_DUPLICATION
Definition: netcon.idl:39
@ NCCF_INCOMING_ONLY
Definition: netcon.idl:42
@ NCCF_ALLOW_REMOVAL
Definition: netcon.idl:40
@ NCCF_ALLOW_RENAME
Definition: netcon.idl:41
@ NCCF_BLUETOOTH_MASK
Definition: netcon.idl:53
@ NCCF_HOMENET_CAPABLE
Definition: netcon.idl:49
enum INetConnection::tagNETCON_CHARACTERISTIC_FLAGS NETCON_CHARACTERISTIC_FLAGS

◆ tagNETCON_MEDIATYPE

Enumerator
NCM_NONE 
NCM_DIRECT 
NCM_ISDN 
NCM_LAN 
NCM_PHONE 
NCM_TUNNEL 
NCM_PPPOE 
NCM_BRIDGE 
NCM_SHAREDACCESSHOST_LAN 
NCM_SHAREDACCESSHOST_RAS 

Definition at line 85 of file netcon.idl.

86 {
90 NCM_LAN,
@ NCM_SHAREDACCESSHOST_LAN
Definition: netcon.idl:95
@ NCM_SHAREDACCESSHOST_RAS
Definition: netcon.idl:96
enum INetConnection::tagNETCON_MEDIATYPE NETCON_MEDIATYPE

◆ tagNETCON_STATUS

Enumerator
NCS_DISCONNECTED 
NCS_CONNECTING 
NCS_CONNECTED 
NCS_DISCONNECTING 
NCS_HARDWARE_NOT_PRESENT 
NCS_HARDWARE_DISABLED 
NCS_HARDWARE_MALFUNCTION 
NCS_MEDIA_DISCONNECTED 
NCS_AUTHENTICATING 
NCS_AUTHENTICATION_SUCCEEDED 
NCS_AUTHENTICATION_FAILED 
NCS_INVALID_ADDRESS 
NCS_CREDENTIALS_REQUIRED 

Definition at line 57 of file netcon.idl.

58 {
@ NCS_HARDWARE_DISABLED
Definition: netcon.idl:64
@ NCS_DISCONNECTING
Definition: netcon.idl:62
@ NCS_AUTHENTICATING
Definition: netcon.idl:67
@ NCS_CREDENTIALS_REQUIRED
Definition: netcon.idl:71
@ NCS_HARDWARE_NOT_PRESENT
Definition: netcon.idl:63
@ NCS_AUTHENTICATION_SUCCEEDED
Definition: netcon.idl:68
@ NCS_HARDWARE_MALFUNCTION
Definition: netcon.idl:65
@ NCS_INVALID_ADDRESS
Definition: netcon.idl:70
@ NCS_MEDIA_DISCONNECTED
Definition: netcon.idl:66
@ NCS_DISCONNECTED
Definition: netcon.idl:59
@ NCS_AUTHENTICATION_FAILED
Definition: netcon.idl:69
enum INetConnection::tagNETCON_STATUS NETCON_STATUS

◆ tagNETCON_TYPE

Enumerator
NCT_DIRECT_CONNECT 
NCT_INBOUND 
NCT_INTERNET 
NCT_LAN 
NCT_PHONE 
NCT_TUNNEL 
NCT_BRIDGE 

Definition at line 74 of file netcon.idl.

75 {
79 NCT_LAN,
enum INetConnection::tagNETCON_TYPE NETCON_TYPE
@ NCT_DIRECT_CONNECT
Definition: netcon.idl:76

Member Function Documentation

◆ Connect()

HRESULT INetConnection::Connect ( )

Implemented in CNetConnection.

◆ Delete()

HRESULT INetConnection::Delete ( )

Implemented in CNetConnection.

◆ Disconnect()

HRESULT INetConnection::Disconnect ( )

Implemented in CNetConnection.

Referenced by DisableNetworkAdapter().

◆ Duplicate()

HRESULT INetConnection::Duplicate ( [in, string] LPCWSTR  pszwDuplicateName,
[out] INetConnection **  ppCon 
)

Implemented in CNetConnection.

◆ GetProperties()

◆ GetUiObjectClassId()

HRESULT INetConnection::GetUiObjectClassId ( [out, ref] CLSID pclsid)

Implemented in CNetConnection.

Referenced by ShowNetConnectionProperties().

◆ Rename()

HRESULT INetConnection::Rename ( [in, string] LPCWSTR  pszwNewName)

Implemented in CNetConnection.


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