Changeset 62684 in vbox for trunk/include/VBox
- Timestamp:
- Jul 29, 2016 1:16:47 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxNetCmn-win.h
r62476 r62684 3 3 * VBoxNetCmn-win.h - NDIS6 Networking Driver Common Definitions, Windows-specific code. 4 4 */ 5 5 6 /* 6 7 * Copyright (C) 2014-2016 Oracle Corporation … … 26 27 DECLHIDDEN(void) vboxNetCmnWinDumpOidRequest(const char *pcszFunction, PNDIS_OID_REQUEST pRequest) 27 28 { 28 char *pszType = "unknown"; 29 char *pszOid = "unknown"; 29 #ifdef LOG_ENABLED 30 const char *pszType; 31 const char *pszOid = "unknown"; 30 32 31 33 switch (pRequest->RequestType) … … 35 37 case NdisRequestQueryInformation: pszType = "query info"; break; 36 38 case NdisRequestQueryStatistics: pszType = "query stats"; break; 39 default: pszType = "unknown"; 37 40 } 38 41 switch (pRequest->DATA.SET_INFORMATION.Oid) … … 134 137 } 135 138 Log(("%s: %s(0x%x) %s(0x%x)\n", pcszFunction, pszType, pRequest->RequestType, pszOid, pRequest->DATA.SET_INFORMATION.Oid)); 139 #else 140 RT_NOREF2(pcszFunction, pRequest); 141 #endif 136 142 }
Note:
See TracChangeset
for help on using the changeset viewer.