Changeset 78280 in vbox for trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c
- Timestamp:
- Apr 24, 2019 4:29:00 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c
r76553 r78280 406 406 PMRX_VBOX_DEVICE_EXTENSION pDeviceExtension = NULL; 407 407 ULONG i; 408 int v boxRC;408 int vrc; 409 409 VBGLSFCLIENT hgcmClient; 410 410 … … 418 418 419 419 /* Initialize VBox subsystem. */ 420 v boxRC= VbglR0SfInit();421 if (RT_FAILURE(v boxRC))422 { 423 Log(("VBOXSF: DriverEntry: ERROR while initializing VBox subsystem (%Rrc)!\n", v boxRC));420 vrc = VbglR0SfInit(); 421 if (RT_FAILURE(vrc)) 422 { 423 Log(("VBOXSF: DriverEntry: ERROR while initializing VBox subsystem (%Rrc)!\n", vrc)); 424 424 return STATUS_UNSUCCESSFUL; 425 425 } … … 427 427 /* Connect the HGCM client */ 428 428 RT_ZERO(hgcmClient); 429 v boxRC= VbglR0SfConnect(&hgcmClient);430 if (RT_FAILURE(v boxRC))429 vrc = VbglR0SfConnect(&hgcmClient); 430 if (RT_FAILURE(vrc)) 431 431 { 432 432 Log(("VBOXSF: DriverEntry: ERROR while connecting to host (%Rrc)!\n", 433 v boxRC));433 vrc)); 434 434 VbglR0SfTerm(); 435 435 return STATUS_UNSUCCESSFUL; … … 704 704 uint8_t *pu8Out = (uint8_t *)LowIoContext->ParamsFor.IoCtl.pOutputBuffer; 705 705 706 int v boxRC;706 int vrc; 707 707 SHFLMAPPING mappings[_MRX_MAX_DRIVE_LETTERS]; 708 708 uint32_t cMappings = RT_ELEMENTS(mappings); … … 719 719 } 720 720 721 v boxRC= VbglR0SfQueryMappings(&pDeviceExtension->hgcmClient, mappings, &cMappings);722 if (v boxRC== VINF_SUCCESS)721 vrc = VbglR0SfQueryMappings(&pDeviceExtension->hgcmClient, mappings, &cMappings); 722 if (vrc == VINF_SUCCESS) 723 723 { 724 724 __try … … 743 743 else 744 744 { 745 Status = VBoxErrorToNTStatus(v boxRC);745 Status = VBoxErrorToNTStatus(vrc); 746 746 Log(("VBOXSF: MRxDevFcbXXXControlFile: IOCTL_MRX_VBOX_GETGLOBALLIST failed: 0x%08X\n", 747 747 Status)); … … 846 846 PWCHAR pwcRemoteName = (PWCHAR)LowIoContext->ParamsFor.IoCtl.pOutputBuffer; 847 847 848 int v boxRC;848 int vrc; 849 849 PSHFLSTRING pString; 850 850 … … 870 870 *pu8ConnectId)); 871 871 872 v boxRC= VbglR0SfQueryMapName(&pDeviceExtension->hgcmClient,873 (*pu8ConnectId)& ~0x80 /** @todo fix properly */,874 875 if ( v boxRC== VINF_SUCCESS872 vrc = VbglR0SfQueryMapName(&pDeviceExtension->hgcmClient, 873 *pu8ConnectId & ~0x80 /** @todo fix properly */, 874 pString, ShflStringSizeOfBuffer(pString)); 875 if ( vrc == VINF_SUCCESS 876 876 && pString->u16Length < cbRemoteName) 877 877 {
Note:
See TracChangeset
for help on using the changeset viewer.