ReactOS 0.4.15-dev-7674-gc0b4db1
netcon.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tagNETCON_PROPERTIES
 

Macros

#define INTERFACE   INetConnection
 
#define INetConnection_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define INetConnection_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define INetConnection_Release(p)   (p)->lpVtbl->Release(p)
 
#define INetConnection_Connect(p)   (p)->lpVtbl->Connect(p)
 
#define INetConnection_Disconnect(p)   (p)->lpVtbl->Disconnect(p)
 
#define INetConnection_Delete(p)   (p)->lpVtbl->Delete(p)
 
#define INetConnection_Duplicate(p, a, b)   (p)->lpVtbl->Duplicate(p,a,b)
 
#define INetConnection_GetProperties(p, a)   (p)->lpVtbl->GetProperties(p,a)
 
#define INetConnection_GetUiObjectClassId(p, a)   (p)->lpVtbl->GetUiObjectClassId(p,a)
 
#define INetConnection_Rename(p, a)   (p)->lpVtbl->Rename(p,a)
 
#define INTERFACE   IEnumNetConnection
 
#define IEnumNetConnection_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IEnumNetConnection_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IEnumNetConnection_Release(p)   (p)->lpVtbl->Release(p)
 
#define IEnumNetConnection_Next(p, a, b, c)   (p)->lpVtbl->Next(p,a,b,c)
 
#define IEnumNetConnection_Skip(p, a)   (p)->lpVtbl->Skip(p,a)
 
#define IEnumNetConnection_Reset(p)   (p)->lpVtbl->Reset(p)
 
#define IEnumNetConnection_Clone(p, a)   (p)->lpVtbl->Clone(p,a)
 
#define INTERFACE   INetConnectionManager
 
#define INetConnectionManager_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define INetConnectionManager_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define INetConnectionManager_Release(p)   (p)->lpVtbl->Release(p)
 
#define INetConnectionManager_EnumConnections(p, a, b)   (p)->lpVtbl->EnumConnections(p,a,b)
 
#define INTERFACE   INetConnectionConnectUi
 
#define INetConnectionConnectUi_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define INetConnectionConnectUi_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define INetConnectionConnectUi_Release(p)   (p)->lpVtbl->Release(p)
 
#define INetConnectionConnectUi_SetConnection(p, a)   (p)->lpVtbl->SetConnection(p,a)
 
#define INetConnectionConnectUi_Connect(p, a, b)   (p)->lpVtbl->Connect(p,a,b)
 
#define INetConnectionConnectUi_Disconnect(p, a, b)   (p)->lpVtbl->Disconnect(p,a,b)
 
#define INTERFACE   INetConnectionPropertyUi
 
#define INetConnectionPropertyUi_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define INetConnectionPropertyUi_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define INetConnectionPropertyUi_Release(p)   (p)->lpVtbl->Release(p)
 
#define INetConnectionPropertyUi_SetConnection(p, a)   (p)->lpVtbl->SetConnection(p,a)
 
#define INetConnectionPropertyUi_AddPages(p, a, b, c)   (p)->lpVtbl->AddPages(p,a,b,c)
 
#define INTERFACE   INetConnectionPropertyUi2
 
#define INetConnectionPropertyUi2_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define INetConnectionPropertyUi2_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define INetConnectionPropertyUi2_Release(p)   (p)->lpVtbl->Release(p)
 
#define INetConnectionPropertyUi2_SetConnection(p, a)   (p)->lpVtbl->SetConnection(p,a)
 
#define INetConnectionPropertyUi2_AddPages(p, a, b, c)   (p)->lpVtbl->AddPages(p,a,b,c)
 
#define INetConnectionPropertyUi2_GetIcon(p, a, b)   (p)->lpVtbl->GetIcon(p,a,b)
 

Typedefs

typedef struct tagNETCON_PROPERTIES NETCON_PROPERTIES
 

Enumerations

enum  NETCONMGR_ENUM_FLAGS { NCME_DEFAULT = 0 }
 
enum  NETCON_CHARACTERISTIC_FLAGS {
  NCCF_NONE = 0 , NCCF_ALL_USERS = 0x1 , NCCF_ALLOW_DUPLICATION = 0x2 , NCCF_ALLOW_REMOVAL = 0x4 ,
  NCCF_ALLOW_RENAME = 0x8 , NCCF_SHOW_ICON = 0x10 , NCCF_INCOMING_ONLY = 0x20 , NCCF_OUTGOING_ONLY = 0x40 ,
  NCCF_BRANDED = 0x80 , NCCF_SHARED = 0x100 , NCCF_BRIDGED = 0x200 , NCCF_FIREWALLED = 0x400 ,
  NCCF_DEFAULT = 0x800 , NCCF_HOMENET_CAPABLE = 0x1000 , NCCF_SHARED_PRIVATE = 0x2000 , NCCF_QUARANTINED = 0x4000 ,
  NCCF_RESERVED = 0x8000 , NCCF_BLUETOOTH_MASK = 0xf0000 , NCCF_LAN_MASK = 0xf00000
}
 
enum  NETCON_STATUS {
  NCS_DISCONNECTED = 0 , NCS_CONNECTING = NCS_DISCONNECTED + 1 , NCS_CONNECTED = NCS_CONNECTING + 1 , NCS_DISCONNECTING = NCS_CONNECTED + 1 ,
  NCS_HARDWARE_NOT_PRESENT = NCS_DISCONNECTING + 1 , NCS_HARDWARE_DISABLED = NCS_HARDWARE_NOT_PRESENT + 1 , NCS_HARDWARE_MALFUNCTION = NCS_HARDWARE_DISABLED + 1 , NCS_MEDIA_DISCONNECTED = NCS_HARDWARE_MALFUNCTION + 1 ,
  NCS_AUTHENTICATING = NCS_MEDIA_DISCONNECTED + 1 , NCS_AUTHENTICATION_SUCCEEDED = NCS_AUTHENTICATING + 1 , NCS_AUTHENTICATION_FAILED = NCS_AUTHENTICATION_SUCCEEDED + 1 , NCS_INVALID_ADDRESS = NCS_AUTHENTICATION_FAILED + 1 ,
  NCS_CREDENTIALS_REQUIRED = NCS_INVALID_ADDRESS + 1
}
 
enum  NETCON_TYPE {
  NCT_DIRECT_CONNECT = 0 , NCT_INBOUND = NCT_DIRECT_CONNECT + 1 , NCT_INTERNET = NCT_INBOUND + 1 , NCT_LAN = NCT_INTERNET + 1 ,
  NCT_PHONE = NCT_LAN + 1 , NCT_TUNNEL = NCT_PHONE + 1 , NCT_BRIDGE = NCT_TUNNEL + 1
}
 
enum  NETCON_MEDIATYPE {
  NCM_NONE = 0 , NCM_DIRECT = NCM_NONE + 1 , NCM_ISDN = NCM_DIRECT + 1 , NCM_LAN = NCM_ISDN + 1 ,
  NCM_PHONE = NCM_LAN + 1 , NCM_TUNNEL = NCM_PHONE + 1 , NCM_PPPOE = NCM_TUNNEL + 1 , NCM_BRIDGE = NCM_PPPOE + 1 ,
  NCM_SHAREDACCESSHOST_LAN = NCM_BRIDGE + 1 , NCM_SHAREDACCESSHOST_RAS = NCM_SHAREDACCESSHOST_LAN + 1
}
 
enum  NETCONUI_CONNECT_FLAGS { NCUC_DEFAULT = 0 , NCUC_NO_UI = 1 , NCUC_ENABLE_DISABLE = 2 }
 

Functions

 DECLARE_INTERFACE_ (INetConnection, IUnknown)
 
 DECLARE_INTERFACE_ (IEnumNetConnection, IUnknown)
 
 DECLARE_INTERFACE_ (INetConnectionManager, IUnknown)
 
 DECLARE_INTERFACE_ (INetConnectionConnectUi, IUnknown)
 
 DECLARE_INTERFACE_ (INetConnectionPropertyUi, IUnknown)
 
 DECLARE_INTERFACE_ (INetConnectionPropertyUi2, IUnknown)
 
VOID WINAPI NcFreeNetconProperties (NETCON_PROPERTIES *pProps)
 

Variables

EXTERN_C const IID IID_INetConnection
 
EXTERN_C const IID IID_IEnumNetConnection
 
EXTERN_C const CLSID CLSID_ConnectionManager
 
EXTERN_C const IID IID_INetConnectionManager
 
EXTERN_C const IID IID_INetConnectionConnectUi
 
EXTERN_C const IID IID_INetConnectionPropertyUi
 
EXTERN_C const IID IID_INetConnectionPropertyUi2
 

Macro Definition Documentation

◆ IEnumNetConnection_AddRef

#define IEnumNetConnection_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 146 of file netcon.h.

◆ IEnumNetConnection_Clone

#define IEnumNetConnection_Clone (   p,
  a 
)    (p)->lpVtbl->Clone(p,a)

Definition at line 151 of file netcon.h.

◆ IEnumNetConnection_Next

#define IEnumNetConnection_Next (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Next(p,a,b,c)

Definition at line 148 of file netcon.h.

◆ IEnumNetConnection_QueryInterface

#define IEnumNetConnection_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 145 of file netcon.h.

◆ IEnumNetConnection_Release

#define IEnumNetConnection_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 147 of file netcon.h.

◆ IEnumNetConnection_Reset

#define IEnumNetConnection_Reset (   p)    (p)->lpVtbl->Reset(p)

Definition at line 150 of file netcon.h.

◆ IEnumNetConnection_Skip

#define IEnumNetConnection_Skip (   p,
  a 
)    (p)->lpVtbl->Skip(p,a)

Definition at line 149 of file netcon.h.

◆ INetConnection_AddRef

#define INetConnection_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 114 of file netcon.h.

◆ INetConnection_Connect

#define INetConnection_Connect (   p)    (p)->lpVtbl->Connect(p)

Definition at line 116 of file netcon.h.

◆ INetConnection_Delete

#define INetConnection_Delete (   p)    (p)->lpVtbl->Delete(p)

Definition at line 118 of file netcon.h.

◆ INetConnection_Disconnect

#define INetConnection_Disconnect (   p)    (p)->lpVtbl->Disconnect(p)

Definition at line 117 of file netcon.h.

◆ INetConnection_Duplicate

#define INetConnection_Duplicate (   p,
  a,
  b 
)    (p)->lpVtbl->Duplicate(p,a,b)

Definition at line 119 of file netcon.h.

◆ INetConnection_GetProperties

#define INetConnection_GetProperties (   p,
  a 
)    (p)->lpVtbl->GetProperties(p,a)

Definition at line 120 of file netcon.h.

◆ INetConnection_GetUiObjectClassId

#define INetConnection_GetUiObjectClassId (   p,
  a 
)    (p)->lpVtbl->GetUiObjectClassId(p,a)

Definition at line 121 of file netcon.h.

◆ INetConnection_QueryInterface

#define INetConnection_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 113 of file netcon.h.

◆ INetConnection_Release

#define INetConnection_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 115 of file netcon.h.

◆ INetConnection_Rename

#define INetConnection_Rename (   p,
  a 
)    (p)->lpVtbl->Rename(p,a)

Definition at line 122 of file netcon.h.

◆ INetConnectionConnectUi_AddRef

#define INetConnectionConnectUi_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 196 of file netcon.h.

◆ INetConnectionConnectUi_Connect

#define INetConnectionConnectUi_Connect (   p,
  a,
  b 
)    (p)->lpVtbl->Connect(p,a,b)

Definition at line 199 of file netcon.h.

◆ INetConnectionConnectUi_Disconnect

#define INetConnectionConnectUi_Disconnect (   p,
  a,
  b 
)    (p)->lpVtbl->Disconnect(p,a,b)

Definition at line 200 of file netcon.h.

◆ INetConnectionConnectUi_QueryInterface

#define INetConnectionConnectUi_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 195 of file netcon.h.

◆ INetConnectionConnectUi_Release

#define INetConnectionConnectUi_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 197 of file netcon.h.

◆ INetConnectionConnectUi_SetConnection

#define INetConnectionConnectUi_SetConnection (   p,
  a 
)    (p)->lpVtbl->SetConnection(p,a)

Definition at line 198 of file netcon.h.

◆ INetConnectionManager_AddRef

#define INetConnectionManager_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 167 of file netcon.h.

◆ INetConnectionManager_EnumConnections

#define INetConnectionManager_EnumConnections (   p,
  a,
  b 
)    (p)->lpVtbl->EnumConnections(p,a,b)

Definition at line 169 of file netcon.h.

◆ INetConnectionManager_QueryInterface

#define INetConnectionManager_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 166 of file netcon.h.

◆ INetConnectionManager_Release

#define INetConnectionManager_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 168 of file netcon.h.

◆ INetConnectionPropertyUi2_AddPages

#define INetConnectionPropertyUi2_AddPages (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->AddPages(p,a,b,c)

Definition at line 247 of file netcon.h.

◆ INetConnectionPropertyUi2_AddRef

#define INetConnectionPropertyUi2_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 244 of file netcon.h.

◆ INetConnectionPropertyUi2_GetIcon

#define INetConnectionPropertyUi2_GetIcon (   p,
  a,
  b 
)    (p)->lpVtbl->GetIcon(p,a,b)

Definition at line 248 of file netcon.h.

◆ INetConnectionPropertyUi2_QueryInterface

#define INetConnectionPropertyUi2_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 243 of file netcon.h.

◆ INetConnectionPropertyUi2_Release

#define INetConnectionPropertyUi2_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 245 of file netcon.h.

◆ INetConnectionPropertyUi2_SetConnection

#define INetConnectionPropertyUi2_SetConnection (   p,
  a 
)    (p)->lpVtbl->SetConnection(p,a)

Definition at line 246 of file netcon.h.

◆ INetConnectionPropertyUi_AddPages

#define INetConnectionPropertyUi_AddPages (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->AddPages(p,a,b,c)

Definition at line 224 of file netcon.h.

◆ INetConnectionPropertyUi_AddRef

#define INetConnectionPropertyUi_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 221 of file netcon.h.

◆ INetConnectionPropertyUi_QueryInterface

#define INetConnectionPropertyUi_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 220 of file netcon.h.

◆ INetConnectionPropertyUi_Release

#define INetConnectionPropertyUi_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 222 of file netcon.h.

◆ INetConnectionPropertyUi_SetConnection

#define INetConnectionPropertyUi_SetConnection (   p,
  a 
)    (p)->lpVtbl->SetConnection(p,a)

Definition at line 223 of file netcon.h.

◆ INTERFACE [1/6]

Definition at line 230 of file netcon.h.

◆ INTERFACE [2/6]

#define INTERFACE   IEnumNetConnection

Definition at line 230 of file netcon.h.

◆ INTERFACE [3/6]

#define INTERFACE   INetConnectionManager

Definition at line 230 of file netcon.h.

◆ INTERFACE [4/6]

#define INTERFACE   INetConnectionConnectUi

Definition at line 230 of file netcon.h.

◆ INTERFACE [5/6]

#define INTERFACE   INetConnectionPropertyUi

Definition at line 230 of file netcon.h.

◆ INTERFACE [6/6]

#define INTERFACE   INetConnectionPropertyUi2

Definition at line 230 of file netcon.h.

Typedef Documentation

◆ NETCON_PROPERTIES

Enumeration Type Documentation

◆ NETCON_CHARACTERISTIC_FLAGS

Enumerator
NCCF_NONE 
NCCF_ALL_USERS 
NCCF_ALLOW_DUPLICATION 
NCCF_ALLOW_REMOVAL 
NCCF_ALLOW_RENAME 
NCCF_SHOW_ICON 
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 13 of file netcon.h.

14{
15 NCCF_NONE = 0,
16 NCCF_ALL_USERS = 0x1,
20 NCCF_SHOW_ICON = 0x10,
21 NCCF_INCOMING_ONLY = 0x20,
22 NCCF_OUTGOING_ONLY = 0x40,
23 NCCF_BRANDED = 0x80,
24 NCCF_SHARED = 0x100,
25 NCCF_BRIDGED = 0x200,
26 NCCF_FIREWALLED = 0x400,
27 NCCF_DEFAULT = 0x800,
28 NCCF_HOMENET_CAPABLE = 0x1000,
29 NCCF_SHARED_PRIVATE = 0x2000,
30 NCCF_QUARANTINED = 0x4000,
31 NCCF_RESERVED = 0x8000,
32 NCCF_BLUETOOTH_MASK = 0xf0000,
33 NCCF_LAN_MASK = 0xf00000
NETCON_CHARACTERISTIC_FLAGS
Definition: netcon.h:14
@ NCCF_FIREWALLED
Definition: netcon.h:26
@ NCCF_OUTGOING_ONLY
Definition: netcon.h:22
@ NCCF_ALLOW_DUPLICATION
Definition: netcon.h:17
@ NCCF_SHOW_ICON
Definition: netcon.h:20
@ NCCF_BLUETOOTH_MASK
Definition: netcon.h:32
@ NCCF_NONE
Definition: netcon.h:15
@ NCCF_BRIDGED
Definition: netcon.h:25
@ NCCF_RESERVED
Definition: netcon.h:31
@ NCCF_QUARANTINED
Definition: netcon.h:30
@ NCCF_DEFAULT
Definition: netcon.h:27
@ NCCF_SHARED_PRIVATE
Definition: netcon.h:29
@ NCCF_ALLOW_REMOVAL
Definition: netcon.h:18
@ NCCF_LAN_MASK
Definition: netcon.h:33
@ NCCF_INCOMING_ONLY
Definition: netcon.h:21
@ NCCF_ALLOW_RENAME
Definition: netcon.h:19
@ NCCF_HOMENET_CAPABLE
Definition: netcon.h:28
@ NCCF_BRANDED
Definition: netcon.h:23
@ NCCF_SHARED
Definition: netcon.h:24
@ NCCF_ALL_USERS
Definition: netcon.h:16

◆ NETCON_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 66 of file netcon.h.

67{
68 NCM_NONE = 0,
69 NCM_DIRECT = NCM_NONE + 1,
70 NCM_ISDN = NCM_DIRECT + 1,
71 NCM_LAN = NCM_ISDN + 1,
72 NCM_PHONE = NCM_LAN + 1,
NETCON_MEDIATYPE
Definition: netcon.h:67
@ NCM_NONE
Definition: netcon.h:68
@ NCM_ISDN
Definition: netcon.h:70
@ NCM_BRIDGE
Definition: netcon.h:75
@ NCM_LAN
Definition: netcon.h:71
@ NCM_PPPOE
Definition: netcon.h:74
@ NCM_SHAREDACCESSHOST_RAS
Definition: netcon.h:77
@ NCM_TUNNEL
Definition: netcon.h:73
@ NCM_PHONE
Definition: netcon.h:72
@ NCM_SHAREDACCESSHOST_LAN
Definition: netcon.h:76
@ NCM_DIRECT
Definition: netcon.h:69

◆ NETCON_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 37 of file netcon.h.

38{
NETCON_STATUS
Definition: netcon.h:38
@ NCS_AUTHENTICATION_FAILED
Definition: netcon.h:49
@ NCS_INVALID_ADDRESS
Definition: netcon.h:50
@ NCS_CONNECTING
Definition: netcon.h:40
@ NCS_DISCONNECTING
Definition: netcon.h:42
@ NCS_CREDENTIALS_REQUIRED
Definition: netcon.h:51
@ NCS_MEDIA_DISCONNECTED
Definition: netcon.h:46
@ NCS_CONNECTED
Definition: netcon.h:41
@ NCS_AUTHENTICATION_SUCCEEDED
Definition: netcon.h:48
@ NCS_HARDWARE_NOT_PRESENT
Definition: netcon.h:43
@ NCS_DISCONNECTED
Definition: netcon.h:39
@ NCS_HARDWARE_MALFUNCTION
Definition: netcon.h:45
@ NCS_HARDWARE_DISABLED
Definition: netcon.h:44
@ NCS_AUTHENTICATING
Definition: netcon.h:47

◆ NETCON_TYPE

Enumerator
NCT_DIRECT_CONNECT 
NCT_INBOUND 
NCT_INTERNET 
NCT_LAN 
NCT_PHONE 
NCT_TUNNEL 
NCT_BRIDGE 

Definition at line 54 of file netcon.h.

55{
60 NCT_PHONE = NCT_LAN + 1,
NETCON_TYPE
Definition: netcon.h:55
@ NCT_LAN
Definition: netcon.h:59
@ NCT_INBOUND
Definition: netcon.h:57
@ NCT_PHONE
Definition: netcon.h:60
@ NCT_BRIDGE
Definition: netcon.h:62
@ NCT_TUNNEL
Definition: netcon.h:61
@ NCT_INTERNET
Definition: netcon.h:58
@ NCT_DIRECT_CONNECT
Definition: netcon.h:56

◆ NETCONMGR_ENUM_FLAGS

Enumerator
NCME_DEFAULT 

Definition at line 8 of file netcon.h.

9{
10 NCME_DEFAULT = 0
NETCONMGR_ENUM_FLAGS
Definition: netcon.h:9
@ NCME_DEFAULT
Definition: netcon.h:10

◆ NETCONUI_CONNECT_FLAGS

Enumerator
NCUC_DEFAULT 
NCUC_NO_UI 
NCUC_ENABLE_DISABLE 

Definition at line 175 of file netcon.h.

176{
177 NCUC_DEFAULT = 0,
178 NCUC_NO_UI = 1,
NETCONUI_CONNECT_FLAGS
Definition: netcon.h:176
@ NCUC_NO_UI
Definition: netcon.h:178
@ NCUC_DEFAULT
Definition: netcon.h:177
@ NCUC_ENABLE_DISABLE
Definition: netcon.h:179

Function Documentation

◆ DECLARE_INTERFACE_() [1/6]

DECLARE_INTERFACE_ ( IEnumNetConnection  ,
IUnknown   
)

Definition at line 130 of file netcon.h.

131{
135 STDMETHOD(Next)(THIS_ ULONG celt, INetConnection **rgelt, ULONG *pceltFetched) PURE;
136 STDMETHOD(Skip) (THIS_ ULONG celt) PURE;
137 STDMETHOD(Reset) (THIS) PURE;
138 STDMETHOD(Clone) (THIS_ IEnumNetConnection **ppenum) PURE;
139};
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define PURE
Definition: basetyps.h:64
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
#define REFIID
Definition: guiddef.h:118
uint32_t ULONG
Definition: typedefs.h:59

◆ DECLARE_INTERFACE_() [2/6]

DECLARE_INTERFACE_ ( INetConnection  ,
IUnknown   
)

Definition at line 96 of file netcon.h.

97{
102 STDMETHOD_(HRESULT,Disconnect) (THIS) PURE;
104 STDMETHOD_(HRESULT,Duplicate)(THIS_ LPCWSTR pszwDuplicateName, INetConnection **ppCon) PURE;
105 STDMETHOD_(HRESULT,GetProperties) (THIS_ NETCON_PROPERTIES **ppProps) PURE;
106 STDMETHOD_(HRESULT,GetUiObjectClassId) (THIS_ CLSID *pclsid) PURE;
107 STDMETHOD_(HRESULT,Rename) (THIS_ LPCWSTR pszwNewName) PURE;
108};
BOOL Delete(LPCTSTR ServiceName)
Definition: delete.c:12
_In_ PKSPIN_CONNECT Connect
Definition: ks.h:4536
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185

◆ DECLARE_INTERFACE_() [3/6]

DECLARE_INTERFACE_ ( INetConnectionConnectUi  ,
IUnknown   
)

Definition at line 184 of file netcon.h.

185{
189 STDMETHOD_(HRESULT,SetConnection)(THIS_ INetConnection* pCon) PURE;
192};
static HWND hwndParent
Definition: cryptui.c:300
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176

◆ DECLARE_INTERFACE_() [4/6]

DECLARE_INTERFACE_ ( INetConnectionManager  ,
IUnknown   
)

Definition at line 156 of file netcon.h.

157{
161 STDMETHOD_(HRESULT,EnumConnections) (THIS_ NETCONMGR_ENUM_FLAGS Flags, IEnumNetConnection **ppEnum) PURE;
162};
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170

◆ DECLARE_INTERFACE_() [5/6]

DECLARE_INTERFACE_ ( INetConnectionPropertyUi  ,
IUnknown   
)

Definition at line 207 of file netcon.h.

208{
212 STDMETHOD_(HRESULT, SetConnection) (THIS_ INetConnection *pCon) PURE;
214
215
216};
LPARAM lParam
Definition: combotst.c:139
BOOL(CALLBACK * LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM)
Definition: prsht.h:327
LONG_PTR LPARAM
Definition: windef.h:208

◆ DECLARE_INTERFACE_() [6/6]

DECLARE_INTERFACE_ ( INetConnectionPropertyUi2  ,
IUnknown   
)

Definition at line 231 of file netcon.h.

232{
236 STDMETHOD_(HRESULT, SetConnection) (THIS_ INetConnection *pCon) PURE;
239};
static int GetIcon(LPCITEMIDLIST lpi, UINT uFlags)
Definition: brsfolder.c:299
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
static HICON
Definition: imagelist.c:84

◆ NcFreeNetconProperties()

Variable Documentation

◆ CLSID_ConnectionManager

EXTERN_C const CLSID CLSID_ConnectionManager

Definition at line 172 of file netcon.h.

Referenced by CNetConnectionManager_CreateInstance().

◆ IID_IEnumNetConnection

EXTERN_C const IID IID_IEnumNetConnection

Definition at line 142 of file netcon.h.

◆ IID_INetConnection

EXTERN_C const IID IID_INetConnection

Definition at line 125 of file netcon.h.

◆ IID_INetConnectionConnectUi

EXTERN_C const IID IID_INetConnectionConnectUi

Definition at line 203 of file netcon.h.

◆ IID_INetConnectionManager

EXTERN_C const IID IID_INetConnectionManager

Definition at line 173 of file netcon.h.

◆ IID_INetConnectionPropertyUi

EXTERN_C const IID IID_INetConnectionPropertyUi

Definition at line 227 of file netcon.h.

Referenced by ShowNetConnectionProperties().

◆ IID_INetConnectionPropertyUi2

EXTERN_C const IID IID_INetConnectionPropertyUi2

Definition at line 252 of file netcon.h.