Skip to content

Commit 16e711b

Browse files
committed
[NETCFGX][PSDK] Add missing parameter to INetCfgClass:FindComponent()
1 parent e82663c commit 16e711b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dll/win32/netcfgx/netcfgclass_iface.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ HRESULT
167167
WINAPI
168168
INetCfgClass_fnFindComponent(
169169
INetCfgClass *iface,
170+
LPCWSTR pszwComponentId,
170171
INetCfgComponent **pComponent)
171172
{
172173
// HRESULT hr;

sdk/include/psdk/netcfgx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ DECLARE_INTERFACE_(INetCfgClass, IUnknown)
323323
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
324324
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
325325
STDMETHOD_(ULONG,Release)(THIS) PURE;
326-
STDMETHOD_(HRESULT,FindComponent) (THIS_ INetCfgComponent **ppnccItem) PURE;
326+
STDMETHOD_(HRESULT,FindComponent) (THIS_ LPCWSTR pszwComponentId, INetCfgComponent **ppnccItem) PURE;
327327
STDMETHOD_(HRESULT,EnumComponents) (THIS_ IEnumNetCfgComponent **ppenumComponent) PURE;
328328
};
329329
#undef INTERFACE
@@ -333,7 +333,7 @@ DECLARE_INTERFACE_(INetCfgClass, IUnknown)
333333
#define INetCfgClass_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
334334
#define INetCfgClass_AddRef(p) (p)->lpVtbl->AddRef(p)
335335
#define INetCfgClass_Release(p) (p)->lpVtbl->Release(p)
336-
#define INetCfgClass_FindComponent(p,a) (p)->lpVtbl->FindComponent(p,a)
336+
#define INetCfgClass_FindComponent(p,a,b) (p)->lpVtbl->FindComponent(p,a,b)
337337
#define INetCfgClass_EnumComponents(p,a) (p)->lpVtbl->EnumComponents(p,a)
338338
#endif
339339

0 commit comments

Comments
 (0)