Changeset 7812 in vbox for trunk/src/VBox/HostServices/SharedFolders/service.cpp
- Timestamp:
- Apr 8, 2008 3:44:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/service.cpp
r7810 r7812 1224 1224 } 1225 1225 1226 extern "C" DECLCALLBACK(DECLEXPORT(int)) VBoxHGCMSvcLoad ( void *,VBOXHGCMSVCFNTABLE *ptable)1226 extern "C" DECLCALLBACK(DECLEXPORT(int)) VBoxHGCMSvcLoad (VBOXHGCMSVCFNTABLE *ptable) 1227 1227 { 1228 1228 int rc = VINF_SUCCESS; … … 1230 1230 Log(("VBoxHGCMSvcLoad: ptable = %p\n", ptable)); 1231 1231 1232 if (! ptable)1232 if (!VALID_PTR(ptable)) 1233 1233 { 1234 LogRelFunc(("Bad value of ptable (%p) in shared folders service\n", ptable)); 1234 1235 rc = VERR_INVALID_PARAMETER; 1235 1236 } … … 1241 1242 || ptable->u32Version != VBOX_HGCM_SVC_VERSION) 1242 1243 { 1243 rc = VERR_INVALID_PARAMETER; 1244 LogRelFunc(("version mismatch loading shared folders service: ptable->cbSize = %d, should be %d, ptable->u32Version = 0x%08X, should be 0x%08X\n", ptable->cbSize, sizeof (VBOXHGCMSVCFNTABLE), ptable->u32Version, VBOX_HGCM_SVC_VERSION)); 1245 rc = VERR_VERSION_MISMATCH; 1244 1246 } 1245 1247 else
Note:
See TracChangeset
for help on using the changeset viewer.