5 const IEnumNetCfgComponent *
lpVtbl;
31 INetCfgComponentBindings *iface,
42 INetCfgComponentBindings *iface)
51 INetCfgComponentBindings *iface)
60 INetCfgComponentBindings *iface,
61 INetCfgComponent *pnccItem)
69 INetCfgComponentBindings *iface,
70 INetCfgComponent *pnccItem)
78 INetCfgComponentBindings *iface,
83 PWSTR pszRange, pszStart, pszEnd;
90 if (!pszwInterfaceName)
94 TRACE(
"Range: %S\n", pszRange);
99 pszEnd =
wcschr(pszStart,
L',');
102 TRACE(
"%S -- %S\n", pszStart, pszwInterfaceName);
108 TRACE(
"%S -- %S\n", pszStart, pszwInterfaceName);
109 if (
_wcsicmp(pszStart, pszwInterfaceName) == 0)
113 pszStart = pszEnd + 1;
123 INetCfgComponentBindings *iface,
124 INetCfgComponent *pnccItem)
131 if (pComponent ==
NULL ||
136 if (pnccItem ==
NULL ||
160 INetCfgComponentBindings *iface,
161 INetCfgComponent *pnccItem)
169 INetCfgComponentBindings *iface,
171 IEnumNetCfgBindingPath **ppIEnum)
179 INetCfgComponentBindings *iface,
181 INetCfgBindingPath *pncbItemSrc,
182 INetCfgBindingPath *pncbItemDest)
190 INetCfgComponentBindings *iface,
192 INetCfgBindingPath *pncbItemSrc,
193 INetCfgBindingPath *pncbItemDest)
220 INetCfgComponentPrivate *iface,
231 INetCfgComponentPrivate *iface)
240 INetCfgComponentPrivate *iface)
249 INetCfgComponentPrivate *iface,
265 TRACE(
"This->pItem->pControl %p\n",
This->pItem->pControl);
266 if (
This->pItem->pControl)
290 INetCfgComponent * iface,
312 TRACE(
"IID_INetCfgComponentPrivate\n");
324 INetCfgComponent * iface)
335 INetCfgComponent * iface)
350 INetCfgComponent * iface,
351 LPWSTR * ppszwDisplayName)
360 if (
This->pItem->szDisplayName)
374 *ppszwDisplayName =
szName;
382 INetCfgComponent * iface,
414 INetCfgComponent * iface,
424 if (
This->pItem->szHelpText)
438 *ppszwHelpText = szHelp;
446 INetCfgComponent * iface,
468 INetCfgComponent * iface,
469 DWORD * pdwCharacteristics)
476 *pdwCharacteristics =
This->pItem->dwCharacteristics;
484 INetCfgComponent * iface,
499 INetCfgComponent * iface,
516 *ppszwDevNodeId = szNode;
523 INetCfgComponent * iface,
538 INetCfgComponent * iface,
552 *ppszwBindName = szBind;
560 INetCfgComponent * iface,
579 INetCfgComponent * iface,
582 WCHAR szBuffer[200] =
L"SYSTEM\\CurrentControlSet\\Services\\";
589 wcscat(szBuffer,
L"\\Parameters");
601 INetCfgComponent *iface)
606 GUID CLSID_NotifyObject;
608 INetCfgComponentControl *pControl;
609 INetCfgComponentPropertyUi *pPropertyUi;
610 INetCfgComponentSetup *pSetup;
611 INetCfgComponentNotifyBinding *pNotifyBinding;
612 INetCfgComponentNotifyGlobal *pNotifyGlobal;
613 INetCfgComponentUpperEdge *pUpperEdge;
619 if (
This->pItem->pControl)
622 wcscpy(
szName,
L"SYSTEM\\CurrentControlSet\\Control\\Network\\");
669 This->pItem->pControl = pControl;
674 This->pItem->pPropertyUi = pPropertyUi;
680 This->pItem->pSetup = pSetup;
686 This->pItem->pNotifyBinding = pNotifyBinding;
692 This->pItem->pNotifyGlobal = pNotifyGlobal;
698 This->pItem->pUpperEdge = pUpperEdge;
703 if (
This->pItem->pNotifyGlobal)
706 &
This->pItem->dwSupportedNotifications);
732 INetCfgComponent * iface,
749 if (
This->pItem->pPropertyUi ==
NULL)
769 pinfo.u3.
phpage = hppages;
786 else if (iResult == 0)
857 IEnumNetCfgComponent * iface,
879 IEnumNetCfgComponent * iface)
890 IEnumNetCfgComponent * iface)
901 IEnumNetCfgComponent * iface,
903 INetCfgComponent **rgelt,
909 if (!iface || !rgelt)
921 This->pCurrent =
This->pCurrent->pNext;
931 IEnumNetCfgComponent * iface,
939 while(celt-- > 0 &&
This->pCurrent)
940 This->pCurrent =
This->pCurrent->pNext;
951 IEnumNetCfgComponent * iface)
962 IEnumNetCfgComponent * iface,
963 IEnumNetCfgComponent **ppenum)
994 This->pCurrent = pItem;
#define InterlockedIncrement
#define InterlockedDecrement
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
HRESULT WINAPI StringFromCLSID(REFCLSID clsid, LPOLESTR *str)
HRESULT WINAPI CLSIDFromString(LPCOLESTR str, LPCLSID clsid)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, IUnknown *outer, DWORD cls_context, REFIID riid, void **obj)
void *WINAPI CoTaskMemAlloc(SIZE_T size)
void WINAPI CoTaskMemFree(void *ptr)
INT_PTR WINAPI PropertySheetW(LPCPROPSHEETHEADERW lppsh)
_ACRTIMP int __cdecl _wcsicmp(const wchar_t *, const wchar_t *)
_ACRTIMP size_t __cdecl wcslen(const wchar_t *)
HINSTANCE netcfgx_hInstance
static const WCHAR ClassGUID[]
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
__in WDFDMATRANSACTION __out NTSTATUS * pStatus
HRESULT WINAPI INetCfgComponentBindings_fnBindTo(INetCfgComponentBindings *iface, INetCfgComponent *pnccItem)
HRESULT WINAPI IEnumNetCfgComponent_fnClone(IEnumNetCfgComponent *iface, IEnumNetCfgComponent **ppenum)
ULONG WINAPI INetCfgComponentBindings_fnRelease(INetCfgComponentBindings *iface)
HRESULT WINAPI IEnumNetCfgComponent_fnQueryInterface(IEnumNetCfgComponent *iface, REFIID iid, LPVOID *ppvObj)
static __inline INetCfgComponentImpl * impl_from_INetCfgComponentPrivate(INetCfgComponentPrivate *iface)
static __inline INetCfgComponentImpl * impl_from_INetCfgComponentBindings(INetCfgComponentBindings *iface)
HRESULT WINAPI INetCfgComponentBindings_fnIsBoundTo(INetCfgComponentBindings *iface, INetCfgComponent *pnccItem)
HRESULT WINAPI INetCfgComponentBindings_fnEnumBindingPaths(INetCfgComponentBindings *iface, DWORD dwFlags, IEnumNetCfgBindingPath **ppIEnum)
HRESULT WINAPI INetCfgComponent_fnGetDisplayName(INetCfgComponent *iface, LPWSTR *ppszwDisplayName)
ULONG WINAPI IEnumNetCfgComponent_fnRelease(IEnumNetCfgComponent *iface)
HRESULT WINAPI INetCfgComponent_fnGetInstanceGuid(INetCfgComponent *iface, GUID *pGuid)
HRESULT WINAPI INetCfgComponentPrivate_fnQueryInterface(INetCfgComponentPrivate *iface, REFIID iid, LPVOID *ppvObj)
HRESULT WINAPI INetCfgComponentPrivate_fnUnknown1(INetCfgComponentPrivate *iface, REFIID iid, LPVOID *ppvObj)
static int CALLBACK PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam)
static const IEnumNetCfgComponentVtbl vt_EnumNetCfgComponent
HRESULT WINAPI INetCfgComponent_fnGetDeviceStatus(INetCfgComponent *iface, ULONG *pStatus)
HRESULT WINAPI INetCfgComponentBindings_fnIsBindableTo(INetCfgComponentBindings *iface, INetCfgComponent *pnccItem)
HRESULT WINAPI INetCfgComponent_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, NetCfgComponentItem *pItem, INetCfg *pNCfg)
ULONG WINAPI INetCfgComponent_fnRelease(INetCfgComponent *iface)
HRESULT WINAPI INetCfgComponentBindings_fnQueryInterface(INetCfgComponentBindings *iface, REFIID iid, LPVOID *ppvObj)
HRESULT WINAPI INetCfgComponentBindings_fnMoveAfter(INetCfgComponentBindings *iface, DWORD dwFlags, INetCfgBindingPath *pncbItemSrc, INetCfgBindingPath *pncbItemDest)
HRESULT WINAPI INetCfgComponent_fnGetCharacteristics(INetCfgComponent *iface, DWORD *pdwCharacteristics)
HRESULT CreateNotifyObject(INetCfgComponentImpl *This, INetCfgComponent *iface)
HRESULT WINAPI INetCfgComponent_fnQueryInterface(INetCfgComponent *iface, REFIID iid, LPVOID *ppvObj)
static const INetCfgComponentBindingsVtbl vt_NetCfgComponentBindings
HRESULT WINAPI IEnumNetCfgComponent_fnReset(IEnumNetCfgComponent *iface)
HRESULT WINAPI INetCfgComponent_fnGetPnpDevNodeId(INetCfgComponent *iface, LPWSTR *ppszwDevNodeId)
HRESULT WINAPI INetCfgComponentBindings_fnSupportsBindingInterface(INetCfgComponentBindings *iface, DWORD dwFlags, LPCWSTR pszwInterfaceName)
HRESULT WINAPI INetCfgComponent_fnGetId(INetCfgComponent *iface, LPWSTR *ppszwId)
static const INetCfgComponentVtbl vt_NetCfgComponent
ULONG WINAPI INetCfgComponentPrivate_fnRelease(INetCfgComponentPrivate *iface)
ULONG WINAPI INetCfgComponentPrivate_fnAddRef(INetCfgComponentPrivate *iface)
ULONG WINAPI INetCfgComponentBindings_fnAddRef(INetCfgComponentBindings *iface)
HRESULT WINAPI IEnumNetCfgComponent_fnNext(IEnumNetCfgComponent *iface, ULONG celt, INetCfgComponent **rgelt, ULONG *pceltFetched)
HRESULT WINAPI INetCfgComponent_fnGetBindName(INetCfgComponent *iface, LPWSTR *ppszwBindName)
ULONG WINAPI INetCfgComponent_fnAddRef(INetCfgComponent *iface)
HRESULT WINAPI IEnumNetCfgComponent_fnSkip(IEnumNetCfgComponent *iface, ULONG celt)
HRESULT WINAPI IEnumNetCfgComponent_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, NetCfgComponentItem *pItem, INetCfg *pNCfg)
HRESULT WINAPI INetCfgComponent_fnRaisePropertyUi(INetCfgComponent *iface, IN HWND hwndParent, IN DWORD dwFlags, IN IUnknown *pUnk)
HRESULT WINAPI INetCfgComponent_fnGetClassGuid(INetCfgComponent *iface, GUID *pGuid)
HRESULT WINAPI INetCfgComponent_fnSetDisplayName(INetCfgComponent *iface, LPCWSTR ppszwDisplayName)
HRESULT WINAPI INetCfgComponent_fnGetHelpText(INetCfgComponent *iface, LPWSTR *ppszwHelpText)
HRESULT WINAPI INetCfgComponentBindings_fnMoveBefore(INetCfgComponentBindings *iface, DWORD dwFlags, INetCfgBindingPath *pncbItemSrc, INetCfgBindingPath *pncbItemDest)
ULONG WINAPI IEnumNetCfgComponent_fnAddRef(IEnumNetCfgComponent *iface)
static const INetCfgComponentPrivateVtbl vt_NetCfgComponentPrivate
HRESULT WINAPI INetCfgComponent_fnOpenParamKey(INetCfgComponent *iface, HKEY *phkey)
HRESULT WINAPI INetCfgComponentBindings_fnUnbindFrom(INetCfgComponentBindings *iface, INetCfgComponent *pnccItem)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
struct _PSP * HPROPSHEETPAGE
HRESULT WINAPI IEnumNetCfgBindingPath_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, DWORD dwFlags)
#define INetCfgComponentPropertyUi_SetContext(p, a)
EXTERN_C const IID IID_INetCfgComponentPropertyUi
EXTERN_C const IID IID_INetCfgComponentNotifyBinding
EXTERN_C const IID IID_INetCfgComponentControl
EXTERN_C const IID IID_INetCfgComponentNotifyGlobal
#define INetCfgComponentControl_Initialize(p, a, b, c)
#define INetCfgComponentControl_QueryInterface(p, a, b)
#define INetCfgComponentPropertyUi_QueryPropertyUi(p, a)
#define INetCfgComponentPropertyUi_ApplyProperties(p)
EXTERN_C const IID IID_INetCfgComponentUpperEdge
EXTERN_C const IID IID_INetCfgComponentSetup
#define INetCfgComponentNotifyGlobal_GetSupportedNotifications(p, a)
#define INetCfgComponentPropertyUi_CancelProperties(p)
#define INetCfgComponentPropertyUi_MergePropPages(p, a, b, c, d, e)
#define INetCfgComponent_QueryInterface(p, a, b)
#define INetCfgComponent_Release(p)
#define INetCfgComponent_GetClassGuid(p, a)
EXTERN_C const IID IID_INetCfgComponentBindings
EXTERN_C const IID IID_INetCfgComponent
#define INetCfgComponentBindings_AddRef(p)
#define INetCfg_AddRef(p)
#define INetCfgComponent_GetInstanceGuid(p, a)
#define INetCfgComponent_AddRef(p)
EXTERN_C const IID IID_IEnumNetCfgBindingPath
EXTERN_C const IID IID_IEnumNetCfgComponent
#define IEnumNetCfgComponent_QueryInterface(p, a, b)
#define IEnumNetCfgComponent_Release(p)
#define INetCfgComponentPrivate_AddRef(p)
EXTERN_C const IID IID_INetCfgComponentPrivate
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
_In_ ULONG _In_ ULONG _In_ ULONG Length
static const WCHAR szName[]
struct _PROPSHEETHEADERW PROPSHEETHEADERW
#define IsEqualGUID(rguid1, rguid2)
#define IsEqualIID(riid1, riid2)
static __inline const char * wine_dbgstr_guid(const GUID *id)
NetCfgComponentItem * pHead
const IEnumNetCfgComponent * lpVtbl
NetCfgComponentItem * pCurrent
NetCfgComponentItem * pItem
#define FIELD_OFFSET(t, f)
#define HKEY_LOCAL_MACHINE
#define MAKEINTRESOURCEW(i)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)