Changeset 69753 in vbox for trunk/src/VBox/ValidationKit/utils/usb/UsbTestServicePlatform-linux.cpp
- Timestamp:
- Nov 19, 2017 2:27:58 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 119153
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/usb/UsbTestServicePlatform-linux.cpp
r69674 r69753 125 125 return VERR_BUFFER_OVERFLOW; 126 126 127 PRTDIR pDir = NULL;128 rc = RTDirOpenFiltered(& pDir, aszPath, RTDIRFILTER_WINNT, 0 /*fFlags*/);127 RTDIR hDir = NULL; 128 rc = RTDirOpenFiltered(&hDir, aszPath, RTDIRFILTER_WINNT, 0 /*fFlags*/); 129 129 if (RT_SUCCESS(rc)) 130 130 { … … 132 132 { 133 133 RTDIRENTRY DirFolderContent; 134 rc = RTDirRead( pDir, &DirFolderContent, NULL);134 rc = RTDirRead(hDir, &DirFolderContent, NULL); 135 135 if (RT_SUCCESS(rc)) 136 136 { … … 182 182 rc = VINF_SUCCESS; 183 183 184 RTDirClose( pDir);184 RTDirClose(hDir); 185 185 } 186 186 … … 205 205 206 206 /* Enumerate the available HCD and their bus numbers. */ 207 PRTDIR pDir = NULL;208 int rc = RTDirOpenFiltered(& pDir, aszPath, RTDIRFILTER_WINNT, 0 /*fFlags*/);207 RTDIR hDir = NULL; 208 int rc = RTDirOpenFiltered(&hDir, aszPath, RTDIRFILTER_WINNT, 0 /*fFlags*/); 209 209 if (RT_SUCCESS(rc)) 210 210 { … … 215 215 { 216 216 RTDIRENTRY DirFolderContent; 217 rc = RTDirRead( pDir, &DirFolderContent, NULL);217 rc = RTDirRead(hDir, &DirFolderContent, NULL); 218 218 if (RT_SUCCESS(rc)) 219 219 { … … 270 270 rc = VINF_SUCCESS; 271 271 272 RTDirClose( pDir);272 RTDirClose(hDir); 273 273 } 274 274
Note:
See TracChangeset
for help on using the changeset viewer.