Lines Matching defs:ObjPath

1257 static HRESULT netIfExecMethod(IWbemServices * pSvc, IWbemClassObject *pClass, BSTR ObjPath,
1288 hr = pSvc->ExecMethod(ObjPath, MethodName, 0, NULL, pClassInstance, &pOutParams, NULL);
1386 static HRESULT netIfWinEnableStatic(IWbemServices * pSvc, const GUID * pGuid, BSTR ObjPath, VARIANT * pIp, VARIANT * pMask)
1400 hr = netIfExecMethod(pSvc, pClass, ObjPath, bstr_t(L"EnableStatic"), argNames, args, 2, pOutParams.asOutParam());
1436 static HRESULT netIfWinEnableStaticV4(IWbemServices * pSvc, const GUID * pGuid, BSTR ObjPath, in_addr* aIp, in_addr * aMask, UINT cIp)
1446 hr = netIfWinEnableStatic(pSvc, pGuid, ObjPath, &ipAddresses, &ipMasks);
1454 static HRESULT netIfWinEnableStaticV4V6(IWbemServices * pSvc, const GUID * pGuid, BSTR ObjPath, BSTR Ip, BSTR Mask)
1464 hr = netIfWinEnableStatic(pSvc, pGuid, ObjPath, &ipAddresses, &ipMasks);
1473 static HRESULT netIfWinSetGateways(IWbemServices * pSvc, BSTR ObjPath, VARIANT * pGw)
1487 hr = netIfExecMethod(pSvc, pClass, ObjPath, bstr_t(L"SetGateways"), argNames, args, 1, pOutParams.asOutParam());
1518 static HRESULT netIfWinSetGatewaysV4(IWbemServices * pSvc, BSTR ObjPath, in_addr* aGw, UINT cGw)
1524 netIfWinSetGateways(pSvc, ObjPath, &gwais);
1531 static HRESULT netIfWinSetGatewaysV4V6(IWbemServices * pSvc, BSTR ObjPath, BSTR Gw)
1537 netIfWinSetGateways(pSvc, ObjPath, &vGw);
1543 static HRESULT netIfWinEnableDHCP(IWbemServices * pSvc, BSTR ObjPath)
1555 hr = netIfExecMethod(pSvc, pClass, ObjPath, bstr_t(L"EnableDHCP"), NULL, NULL, 0, pOutParams.asOutParam());
1586 static HRESULT netIfWinDhcpRediscover(IWbemServices * pSvc, BSTR ObjPath)
1598 hr = netIfExecMethod(pSvc, pClass, ObjPath, bstr_t(L"ReleaseDHCPLease"), NULL, NULL, 0, pOutParams.asOutParam());
1610 hr = netIfExecMethod(pSvc, pClass, ObjPath, bstr_t(L"RenewDHCPLease"), NULL, NULL, 0, pOutParams.asOutParam());
1712 BSTR ObjPath;
1713 hr = netIfWinAdapterConfigPath(pAdapterConfig, &ObjPath);
1716 hr = netIfWinEnableStaticV4(pSvc, pGuid, ObjPath, aIp, aMask, ip != 0 ? 1 : 0);
1722 hr = netIfWinSetGatewaysV4(pSvc, ObjPath, aGw, 1);
1728 SysFreeString(ObjPath);
1755 BSTR ObjPath;
1756 hr = netIfWinAdapterConfigPath(pAdapterConfig, &ObjPath);
1759 hr = netIfWinEnableStaticV4V6(pSvc, pAdapterConfig, ObjPath, aIPV6Address, aIPV6Mask);
1764 hr = netIfWinSetGatewaysV4V6(pSvc, ObjPath, aIPV6DefaultGateway);
1771 SysFreeString(ObjPath);
1809 BSTR ObjPath;
1810 hr = netIfWinAdapterConfigPath(pAdapterConfig, &ObjPath);
1813 hr = netIfWinEnableDHCP(pSvc, ObjPath);
1818 SysFreeString(ObjPath);
1850 BSTR ObjPath;
1851 hr = netIfWinAdapterConfigPath(pAdapterConfig, &ObjPath);
1854 hr = netIfWinDhcpRediscover(pSvc, ObjPath);
1859 SysFreeString(ObjPath);