Changeset 58195 in vbox for trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c
- Timestamp:
- Oct 12, 2015 3:13:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c
r51997 r58195 82 82 PMRX_VBOX_DEVICE_EXTENSION pDeviceExtension; 83 83 pDeviceExtension = (PMRX_VBOX_DEVICE_EXTENSION)((PBYTE)VBoxMRxDeviceObject + sizeof(RDBSS_DEVICE_OBJECT)); 84 vboxDisconnect(&pDeviceExtension->hgcmClient);85 } 86 87 vboxUninit();84 VbglR0SfDisconnect(&pDeviceExtension->hgcmClient); 85 } 86 87 VbglR0SfTerm(); 88 88 89 89 if (VBoxMRxDeviceObject) … … 422 422 423 423 /* Initialize VBox subsystem. */ 424 vboxRC = vboxInit();424 vboxRC = VbglR0SfInit(); 425 425 if (RT_FAILURE(vboxRC)) 426 426 { … … 431 431 /* Connect the HGCM client */ 432 432 RT_ZERO(hgcmClient); 433 vboxRC = vboxConnect(&hgcmClient);433 vboxRC = VbglR0SfConnect(&hgcmClient); 434 434 if (RT_FAILURE(vboxRC)) 435 435 { 436 436 Log(("VBOXSF: DriverEntry: ERROR while connecting to host (%Rrc)!\n", 437 437 vboxRC)); 438 vboxUninit();438 VbglR0SfTerm(); 439 439 return STATUS_UNSUCCESSFUL; 440 440 } … … 555 555 Log(("VBOXSF: DriverEntry: Failure! Status = 0x%08X\n", Status)); 556 556 557 vboxDisconnect(&hgcmClient);558 vboxUninit();557 VbglR0SfDisconnect(&hgcmClient); 558 VbglR0SfTerm(); 559 559 560 560 if (VBoxMRxDeviceObject) … … 711 711 uint32_t cMappings = RT_ELEMENTS(mappings); 712 712 713 int vboxRC = vboxCallQueryMappings(&pDeviceExtension->hgcmClient, mappings, &cMappings);713 int vboxRC = VbglR0SfQueryMappings(&pDeviceExtension->hgcmClient, mappings, &cMappings); 714 714 715 715 if (vboxRC == VINF_SUCCESS) … … 838 838 break; 839 839 840 vboxRC = vboxCallQueryMapName(&pDeviceExtension->hgcmClient,840 vboxRC = VbglR0SfQueryMapName(&pDeviceExtension->hgcmClient, 841 841 (*pConnectId) & ~0x80 /** @todo fix properly */, 842 842 pString, ShflStringSizeOfBuffer(pString));
Note:
See TracChangeset
for help on using the changeset viewer.