Changeset 63256 in vbox for trunk/src/VBox/Main/src-server/win
- Timestamp:
- Aug 10, 2016 12:04:54 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109887
- Location:
- trunk/src/VBox/Main/src-server/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/win/HostPowerWin.cpp
r62679 r63256 63 63 64 64 65 DECLCALLBACK(int) HostPowerServiceWin::NotificationThread(RTTHREAD ThreadSelf, void *pInstance) 66 { 65 DECLCALLBACK(int) HostPowerServiceWin::NotificationThread(RTTHREAD hThreadSelf, void *pInstance) 66 { 67 RT_NOREF(hThreadSelf); 67 68 HostPowerServiceWin *pPowerObj = (HostPowerServiceWin *)pInstance; 68 69 HWND hwnd = 0; -
trunk/src/VBox/Main/src-server/win/NetIf-win.cpp
r63176 r63256 97 97 static int collectNetIfInfo(Bstr &strName, Guid &guid, PNETIFINFO pInfo, int iDefault) 98 98 { 99 DWORD dwRc;100 int rc = VINF_SUCCESS; 99 RT_NOREF(strName); 100 101 101 /* 102 102 * Most of the hosts probably have less than 10 adapters, … … 107 107 if (!pAddresses) 108 108 return VERR_NO_MEMORY; 109 dwRc = GetAdaptersAddresses(AF_UNSPEC, GAA_FLAG_INCLUDE_PREFIX, NULL, pAddresses, &uBufLen);109 DWORD dwRc = GetAdaptersAddresses(AF_UNSPEC, GAA_FLAG_INCLUDE_PREFIX, NULL, pAddresses, &uBufLen); 110 110 if (dwRc == ERROR_BUFFER_OVERFLOW) 111 111 { … … 1112 1112 * @returns VBox status code. 1113 1113 * 1114 * @param p cszIfNameInterface name.1114 * @param pszIfName Interface name. 1115 1115 * @param penmState Where to store the retrieved state. 1116 1116 */ 1117 int NetIfGetState(const char *pcszIfName, NETIFSTATUS *penmState) 1118 { 1117 int NetIfGetState(const char *pszIfName, NETIFSTATUS *penmState) 1118 { 1119 RT_NOREF(pszIfName, penmState); 1119 1120 return VERR_NOT_IMPLEMENTED; 1120 1121 } … … 1126 1127 * @returns VBox status code. 1127 1128 * 1128 * @param p cszIfName Interface name.1129 * @param pszIfName Interface name. 1129 1130 * @param puMbits Where to store the link speed. 1130 1131 */ 1131 int NetIfGetLinkSpeed(const char * /*pcszIfName*/, uint32_t * /*puMbits*/) 1132 { 1132 int NetIfGetLinkSpeed(const char *pszIfName, uint32_t *puMbits) 1133 { 1134 RT_NOREF(pszIfName, puMbits); 1133 1135 return VERR_NOT_IMPLEMENTED; 1134 1136 } … … 1137 1139 IHostNetworkInterface **aHostNetworkInterface, 1138 1140 IProgress **aProgress, 1139 const char *pcszName) 1140 { 1141 const char *pszName) 1142 { 1143 RT_NOREF(pszName); 1141 1144 #ifndef VBOX_WITH_NETFLT 1142 1145 return VERR_NOT_IMPLEMENTED; … … 1226 1229 int NetIfEnableStaticIpConfig(VirtualBox *vBox, HostNetworkInterface * pIf, ULONG aOldIp, ULONG ip, ULONG mask) 1227 1230 { 1231 RT_NOREF(aOldIp); 1228 1232 #ifndef VBOX_WITH_NETFLT 1229 1233 return VERR_NOT_IMPLEMENTED; 1230 1234 #else 1231 HRESULT rc;1232 1235 Bstr guid; 1233 rc = pIf->COMGETTER(Id)(guid.asOutParam());1236 HRESULT rc = pIf->COMGETTER(Id)(guid.asOutParam()); 1234 1237 if (SUCCEEDED(rc)) 1235 1238 { … … 1284 1287 IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength) 1285 1288 { 1289 RT_NOREF(aOldIPV6Address); 1286 1290 #ifndef VBOX_WITH_NETFLT 1287 1291 return VERR_NOT_IMPLEMENTED; 1288 1292 #else 1289 HRESULT rc;1290 1293 Bstr guid; 1291 rc = pIf->COMGETTER(Id)(guid.asOutParam());1294 HRESULT rc = pIf->COMGETTER(Id)(guid.asOutParam()); 1292 1295 if (SUCCEEDED(rc)) 1293 1296 { -
trunk/src/VBox/Main/src-server/win/PerformanceWin.cpp
r62679 r63256 195 195 int CollectorWin::getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle) 196 196 { 197 RT_NOREF(user, kernel, idle); 197 198 return VERR_NOT_IMPLEMENTED; 198 199 } … … 313 314 int CollectorWin::getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel) 314 315 { 316 RT_NOREF(process, user, kernel); 315 317 return VERR_NOT_IMPLEMENTED; 316 318 }
Note:
See TracChangeset
for help on using the changeset viewer.