41 INetCfgComponentBindings *iface,
52 INetCfgComponentBindings *iface)
61 INetCfgComponentBindings *iface)
70 INetCfgComponentBindings *iface,
71 INetCfgComponent *pnccItem)
79 INetCfgComponentBindings *iface,
80 INetCfgComponent *pnccItem)
88 INetCfgComponentBindings *iface,
93 PWSTR pszRange, pszStart, pszEnd;
100 if (!pszwInterfaceName)
104 TRACE(
"Range: %S\n", pszRange);
109 pszEnd =
wcschr(pszStart,
L',');
112 TRACE(
"%S -- %S\n", pszStart, pszwInterfaceName);
118 TRACE(
"%S -- %S\n", pszStart, pszwInterfaceName);
119 if (
_wcsicmp(pszStart, pszwInterfaceName) == 0)
123 pszStart = pszEnd + 1;
133 INetCfgComponentBindings *iface,
134 INetCfgComponent *pnccItem)
141 if (pComponent ==
NULL ||
146 if (pnccItem ==
NULL ||
170 INetCfgComponentBindings *iface,
171 INetCfgComponent *pnccItem)
179 INetCfgComponentBindings *iface,
181 IEnumNetCfgBindingPath **ppIEnum)
189 INetCfgComponentBindings *iface,
191 INetCfgBindingPath *pncbItemSrc,
192 INetCfgBindingPath *pncbItemDest)
200 INetCfgComponentBindings *iface,
202 INetCfgBindingPath *pncbItemSrc,
203 INetCfgBindingPath *pncbItemDest)
230 INetCfgComponentPrivate *iface,
241 INetCfgComponentPrivate *iface)
250 INetCfgComponentPrivate *iface)
259 INetCfgComponentPrivate *iface,
275 TRACE(
"This->pItem->pControl %p\n",
This->pItem->pControl);
276 if (
This->pItem->pControl)
300 INetCfgComponent * iface,
322 TRACE(
"IID_INetCfgComponentPrivate\n");
334 INetCfgComponent * iface)
345 INetCfgComponent * iface)
360 INetCfgComponent * iface,
361 LPWSTR * ppszwDisplayName)
370 if (
This->pItem->szDisplayName)
384 *ppszwDisplayName =
szName;
392 INetCfgComponent * iface,
424 INetCfgComponent * iface,
434 if (
This->pItem->szHelpText)
448 *ppszwHelpText = szHelp;
456 INetCfgComponent * iface,
478 INetCfgComponent * iface,
479 DWORD * pdwCharacteristics)
486 *pdwCharacteristics =
This->pItem->dwCharacteristics;
494 INetCfgComponent * iface,
509 INetCfgComponent * iface,
526 *ppszwDevNodeId = szNode;
533 INetCfgComponent * iface,
548 INetCfgComponent * iface,
562 *ppszwBindName = szBind;
570 INetCfgComponent * iface,
589 INetCfgComponent * iface,
592 WCHAR szBuffer[200] =
L"SYSTEM\\CurrentControlSet\\Services\\";
599 wcscat(szBuffer,
L"\\Parameters");
611 INetCfgComponent *iface)
616 GUID CLSID_NotifyObject;
618 INetCfgComponentControl *pControl;
619 INetCfgComponentPropertyUi *pPropertyUi;
620 INetCfgComponentSetup *pSetup;
621 INetCfgComponentNotifyBinding *pNotifyBinding;
622 INetCfgComponentNotifyGlobal *pNotifyGlobal;
623 INetCfgComponentUpperEdge *pUpperEdge;
629 if (
This->pItem->pControl)
632 wcscpy(
szName,
L"SYSTEM\\CurrentControlSet\\Control\\Network\\");
679 This->pItem->pControl = pControl;
684 This->pItem->pPropertyUi = pPropertyUi;
690 This->pItem->pSetup = pSetup;
696 This->pItem->pNotifyBinding = pNotifyBinding;
702 This->pItem->pNotifyGlobal = pNotifyGlobal;
708 This->pItem->pUpperEdge = pUpperEdge;
713 if (
This->pItem->pNotifyGlobal)
716 &
This->pItem->dwSupportedNotifications);
742 INetCfgComponent * iface,
759 if (
This->pItem->pPropertyUi ==
NULL)
779 pinfo.u3.
phpage = hppages;
796 else if (iResult == 0)
867 IEnumNetCfgComponent * iface,
889 IEnumNetCfgComponent * iface)
900 IEnumNetCfgComponent * iface)
911 IEnumNetCfgComponent * iface,
913 INetCfgComponent **rgelt,
919 if (!iface || !rgelt)
931 This->pCurrent =
This->pCurrent->pNext;
941 IEnumNetCfgComponent * iface,
949 while(celt-- > 0 &&
This->pCurrent)
950 This->pCurrent =
This->pCurrent->pNext;
961 IEnumNetCfgComponent * iface)
972 IEnumNetCfgComponent * iface,
973 IEnumNetCfgComponent **ppenum)
1004 This->pCurrent = pItem;
1005 This->pHead = pItem;
1006 This->pNCfg = pNCfg;
#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)
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)
void *WINAPI CoTaskMemAlloc(SIZE_T size)
void WINAPI CoTaskMemFree(void *ptr)
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
const INetCfgComponentBindings * lpVtblBindings
const INetCfgComponent * lpVtbl
NetCfgComponentItem * pItem
const INetCfgComponentPrivate * lpVtblPrivate
#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)