95#define INTERFACE INetConnection
111#if !defined(__cplusplus) || defined(CINTERFACE)
113#define INetConnection_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
114#define INetConnection_AddRef(p) (p)->lpVtbl->AddRef(p)
115#define INetConnection_Release(p) (p)->lpVtbl->Release(p)
116#define INetConnection_Connect(p) (p)->lpVtbl->Connect(p)
117#define INetConnection_Disconnect(p) (p)->lpVtbl->Disconnect(p)
118#define INetConnection_Delete(p) (p)->lpVtbl->Delete(p)
119#define INetConnection_Duplicate(p,a,b) (p)->lpVtbl->Duplicate(p,a,b)
120#define INetConnection_GetProperties(p,a) (p)->lpVtbl->GetProperties(p,a)
121#define INetConnection_GetUiObjectClassId(p,a) (p)->lpVtbl->GetUiObjectClassId(p,a)
122#define INetConnection_Rename(p,a) (p)->lpVtbl->Rename(p,a)
129#define INTERFACE IEnumNetConnection
144#if !defined(__cplusplus) || defined(CINTERFACE)
145#define IEnumNetConnection_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
146#define IEnumNetConnection_AddRef(p) (p)->lpVtbl->AddRef(p)
147#define IEnumNetConnection_Release(p) (p)->lpVtbl->Release(p)
148#define IEnumNetConnection_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
149#define IEnumNetConnection_Skip(p,a) (p)->lpVtbl->Skip(p,a)
150#define IEnumNetConnection_Reset(p) (p)->lpVtbl->Reset(p)
151#define IEnumNetConnection_Clone(p,a) (p)->lpVtbl->Clone(p,a)
155#define INTERFACE INetConnectionManager
165#if !defined(__cplusplus) || defined(CINTERFACE)
166#define INetConnectionManager_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
167#define INetConnectionManager_AddRef(p) (p)->lpVtbl->AddRef(p)
168#define INetConnectionManager_Release(p) (p)->lpVtbl->Release(p)
169#define INetConnectionManager_EnumConnections(p,a,b) (p)->lpVtbl->EnumConnections(p,a,b)
183#define INTERFACE INetConnectionConnectUi
194#if !defined(__cplusplus) || defined(CINTERFACE)
195#define INetConnectionConnectUi_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
196#define INetConnectionConnectUi_AddRef(p) (p)->lpVtbl->AddRef(p)
197#define INetConnectionConnectUi_Release(p) (p)->lpVtbl->Release(p)
198#define INetConnectionConnectUi_SetConnection(p,a) (p)->lpVtbl->SetConnection(p,a)
199#define INetConnectionConnectUi_Connect(p,a,b) (p)->lpVtbl->Connect(p,a,b)
200#define INetConnectionConnectUi_Disconnect(p,a,b) (p)->lpVtbl->Disconnect(p,a,b)
206#define INTERFACE INetConnectionPropertyUi
219#if !defined(__cplusplus) || defined(CINTERFACE)
220#define INetConnectionPropertyUi_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
221#define INetConnectionPropertyUi_AddRef(p) (p)->lpVtbl->AddRef(p)
222#define INetConnectionPropertyUi_Release(p) (p)->lpVtbl->Release(p)
223#define INetConnectionPropertyUi_SetConnection(p,a) (p)->lpVtbl->SetConnection(p,a)
224#define INetConnectionPropertyUi_AddPages(p,a,b,c) (p)->lpVtbl->AddPages(p,a,b,c)
230#define INTERFACE INetConnectionPropertyUi2
242#if !defined(__cplusplus) || defined(CINTERFACE)
243#define INetConnectionPropertyUi2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
244#define INetConnectionPropertyUi2_AddRef(p) (p)->lpVtbl->AddRef(p)
245#define INetConnectionPropertyUi2_Release(p) (p)->lpVtbl->Release(p)
246#define INetConnectionPropertyUi2_SetConnection(p,a) (p)->lpVtbl->SetConnection(p,a)
247#define INetConnectionPropertyUi2_AddPages(p,a,b,c) (p)->lpVtbl->AddPages(p,a,b,c)
248#define INetConnectionPropertyUi2_GetIcon(p,a,b) (p)->lpVtbl->GetIcon(p,a,b)
BOOL Delete(LPCTSTR ServiceName)
#define DECLARE_INTERFACE_(i, b)
_In_ PKSPIN_CONNECT Connect
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static HRESULT QueryInterface(REFIID, void **)
static ULONG WINAPI AddRef(IStream *iface)
NETCON_CHARACTERISTIC_FLAGS
EXTERN_C const CLSID CLSID_ConnectionManager
EXTERN_C const IID IID_INetConnectionConnectUi
struct tagNETCON_PROPERTIES NETCON_PROPERTIES
@ NCS_AUTHENTICATION_FAILED
@ NCS_CREDENTIALS_REQUIRED
@ NCS_AUTHENTICATION_SUCCEEDED
@ NCS_HARDWARE_NOT_PRESENT
@ NCS_HARDWARE_MALFUNCTION
EXTERN_C const IID IID_IEnumNetConnection
@ NCM_SHAREDACCESSHOST_RAS
@ NCM_SHAREDACCESSHOST_LAN
EXTERN_C const IID IID_INetConnectionPropertyUi2
EXTERN_C const IID IID_INetConnectionManager
EXTERN_C const IID IID_INetConnection
VOID WINAPI NcFreeNetconProperties(NETCON_PROPERTIES *pProps)
EXTERN_C const IID IID_INetConnectionPropertyUi
BOOL(CALLBACK * LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM)
NETCON_MEDIATYPE MediaType
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_Must_inspect_result_ _In_ ULONG Flags