Go to the source code of this file.
|
static __inline LPINetCfgClassImpl | impl_from_INetCfgClassSetup (INetCfgClassSetup *iface) |
|
HRESULT WINAPI | INetCfgClassSetup_fnQueryInterface (INetCfgClassSetup *iface, REFIID iid, LPVOID *ppvObj) |
|
ULONG WINAPI | INetCfgClassSetup_fnAddRef (INetCfgClassSetup *iface) |
|
ULONG WINAPI | INetCfgClassSetup_fnRelease (INetCfgClassSetup *iface) |
|
HRESULT WINAPI | INetCfgClassSetup_fnSelectAndInstall (_In_ INetCfgClassSetup *iface, _In_ HWND hwndParent, _In_opt_ OBO_TOKEN *pOboToken, _Out_opt_ INetCfgComponent **ppnccItem) |
|
HRESULT WINAPI | INetCfgClassSetup_fnInstall (_In_ INetCfgClassSetup *iface, _In_ LPCWSTR pszwComponentId, _In_opt_ OBO_TOKEN *pOboToken, _In_opt_ DWORD dwSetupFlags, _In_opt_ DWORD dwUpgradeFromBuildNo, _In_opt_ LPCWSTR pszwAnswerFile, _In_opt_ LPCWSTR pszwAnswerSections, _Out_opt_ INetCfgComponent **ppComponent) |
|
HRESULT WINAPI | INetCfgClassSetup_fnDeInstall (_In_ INetCfgClassSetup *iface, _In_ INetCfgComponent *pComponent, _In_opt_ OBO_TOKEN *pOboToken, _Out_opt_ LPWSTR *pmszwRefs) |
|
HRESULT WINAPI | INetCfgClass_fnQueryInterface (INetCfgClass *iface, REFIID iid, LPVOID *ppvObj) |
|
ULONG WINAPI | INetCfgClass_fnAddRef (INetCfgClass *iface) |
|
ULONG WINAPI | INetCfgClass_fnRelease (INetCfgClass *iface) |
|
HRESULT WINAPI | INetCfgClass_fnFindComponent (INetCfgClass *iface, INetCfgComponent **pComponent) |
|
HRESULT WINAPI | INetCfgClass_fnEnumComponents (INetCfgClass *iface, IEnumNetCfgComponent **ppenumComponent) |
|
HRESULT WINAPI | INetCfgClass_Constructor (IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv, const GUID *pguidClass, INetCfg *pNetCfg) |
|
◆ LPINetCfgClassImpl
◆ impl_from_INetCfgClassSetup()
◆ INetCfgClass_Constructor()
Definition at line 204 of file netcfgclass_iface.c.
210{
212
215
219
223
225 This->pNetCfg = pNetCfg;
226
228 {
231 }
232
235}
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
#define memcpy(s1, s2, n)
static const INetCfgClassSetupVtbl vt_NetCfgClassSetup
static const INetCfgClassVtbl vt_NetCfgClass
#define INetCfgClass_Release(p)
#define INetCfgClass_QueryInterface(p, a, b)
Referenced by INetCfg_fnQueryNetCfgClass().
◆ INetCfgClass_fnAddRef()
ULONG WINAPI INetCfgClass_fnAddRef |
( |
INetCfgClass * |
iface | ) |
|
Definition at line 142 of file netcfgclass_iface.c.
144{
147
148 return refCount;
149}
#define InterlockedIncrement
◆ INetCfgClass_fnEnumComponents()
HRESULT WINAPI INetCfgClass_fnEnumComponents |
( |
INetCfgClass * |
iface, |
|
|
IEnumNetCfgComponent ** |
ppenumComponent |
|
) |
| |
◆ INetCfgClass_fnFindComponent()
HRESULT WINAPI INetCfgClass_fnFindComponent |
( |
INetCfgClass * |
iface, |
|
|
INetCfgComponent ** |
pComponent |
|
) |
| |
◆ INetCfgClass_fnQueryInterface()
Definition at line 115 of file netcfgclass_iface.c.
119{
122
125 {
129 }
131 {
135 }
136
138}
EXTERN_C const IID IID_INetCfgClassSetup
EXTERN_C const IID IID_INetCfgClass
#define INetCfgClass_AddRef(p)
#define IsEqualIID(riid1, riid2)
◆ INetCfgClass_fnRelease()
ULONG WINAPI INetCfgClass_fnRelease |
( |
INetCfgClass * |
iface | ) |
|
Definition at line 153 of file netcfgclass_iface.c.
155{
158
159 if (!refCount)
160 {
162 }
163 return refCount;
164}
#define InterlockedDecrement
VOID WINAPI CoTaskMemFree(LPVOID ptr)
◆ INetCfgClassSetup_fnAddRef()
ULONG WINAPI INetCfgClassSetup_fnAddRef |
( |
INetCfgClassSetup * |
iface | ) |
|
Definition at line 35 of file netcfgclass_iface.c.
37{
40}
static __inline LPINetCfgClassImpl impl_from_INetCfgClassSetup(INetCfgClassSetup *iface)
◆ INetCfgClassSetup_fnDeInstall()
◆ INetCfgClassSetup_fnInstall()
Definition at line 65 of file netcfgclass_iface.c.
74{
75
76
77 if (ppComponent)
79
81
83}
static HRESULT InstallNetworkComponent(LPWSTR pszComponentName, const GUID *pClassGuid)
◆ INetCfgClassSetup_fnQueryInterface()
◆ INetCfgClassSetup_fnRelease()
ULONG WINAPI INetCfgClassSetup_fnRelease |
( |
INetCfgClassSetup * |
iface | ) |
|
◆ INetCfgClassSetup_fnSelectAndInstall()
◆ vt_NetCfgClass
const INetCfgClassVtbl vt_NetCfgClass |
|
static |
Initial value:=
{
}
ULONG WINAPI INetCfgClass_fnAddRef(INetCfgClass *iface)
HRESULT WINAPI INetCfgClass_fnFindComponent(INetCfgClass *iface, INetCfgComponent **pComponent)
HRESULT WINAPI INetCfgClass_fnEnumComponents(INetCfgClass *iface, IEnumNetCfgComponent **ppenumComponent)
ULONG WINAPI INetCfgClass_fnRelease(INetCfgClass *iface)
HRESULT WINAPI INetCfgClass_fnQueryInterface(INetCfgClass *iface, REFIID iid, LPVOID *ppvObj)
Definition at line 193 of file netcfgclass_iface.c.
Referenced by INetCfgClass_Constructor().
◆ vt_NetCfgClassSetup
const INetCfgClassSetupVtbl vt_NetCfgClassSetup |
|
static |
Initial value:=
{
}
ULONG WINAPI INetCfgClassSetup_fnRelease(INetCfgClassSetup *iface)
HRESULT WINAPI INetCfgClassSetup_fnDeInstall(_In_ INetCfgClassSetup *iface, _In_ INetCfgComponent *pComponent, _In_opt_ OBO_TOKEN *pOboToken, _Out_opt_ LPWSTR *pmszwRefs)
HRESULT WINAPI INetCfgClassSetup_fnInstall(_In_ INetCfgClassSetup *iface, _In_ LPCWSTR pszwComponentId, _In_opt_ OBO_TOKEN *pOboToken, _In_opt_ DWORD dwSetupFlags, _In_opt_ DWORD dwUpgradeFromBuildNo, _In_opt_ LPCWSTR pszwAnswerFile, _In_opt_ LPCWSTR pszwAnswerSections, _Out_opt_ INetCfgComponent **ppComponent)
HRESULT WINAPI INetCfgClassSetup_fnSelectAndInstall(_In_ INetCfgClassSetup *iface, _In_ HWND hwndParent, _In_opt_ OBO_TOKEN *pOboToken, _Out_opt_ INetCfgComponent **ppnccItem)
HRESULT WINAPI INetCfgClassSetup_fnQueryInterface(INetCfgClassSetup *iface, REFIID iid, LPVOID *ppvObj)
ULONG WINAPI INetCfgClassSetup_fnAddRef(INetCfgClassSetup *iface)
Definition at line 99 of file netcfgclass_iface.c.
Referenced by INetCfgClass_Constructor().