Changeset 58195 in vbox for trunk/src/VBox/Additions/WINNT/SharedFolders/driver/file.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/file.c
r55401 r58195 43 43 uint8_t *pBuffer, bool fLocked) 44 44 { 45 return vboxCallRead(pClient, pMap, hFile, offset, pcbBuffer, pBuffer, fLocked);45 return VbglR0SfRead(pClient, pMap, hFile, offset, pcbBuffer, pBuffer, fLocked); 46 46 } 47 47 … … 50 50 uint8_t *pBuffer, bool fLocked) 51 51 { 52 return vboxCallWrite(pClient, pMap, hFile, offset, pcbBuffer, pBuffer, fLocked);52 return VbglR0SfWrite(pClient, pMap, hFile, offset, pcbBuffer, pBuffer, fLocked); 53 53 } 54 54 … … 57 57 uint16_t offFirstPage, uint16_t cPages, RTGCPHYS64 *paPages) 58 58 { 59 return VbglR0S haredFolderReadPageList(pClient, pMap, hFile, offset, pcbBuffer, offFirstPage, cPages, paPages);59 return VbglR0SfReadPageList(pClient, pMap, hFile, offset, pcbBuffer, offFirstPage, cPages, paPages); 60 60 } 61 61 … … 64 64 uint16_t offFirstPage, uint16_t cPages, RTGCPHYS64 *paPages) 65 65 { 66 return VbglR0S haredFolderWritePageList(pClient, pMap, hFile, offset, pcbBuffer, offFirstPage, cPages, paPages);66 return VbglR0SfWritePageList(pClient, pMap, hFile, offset, pcbBuffer, offFirstPage, cPages, paPages); 67 67 } 68 68 … … 491 491 fu32Lock |= SHFL_LOCK_WAIT; 492 492 493 vboxRC = vboxCallLock(&pDeviceExtension->hgcmClient, &pNetRootExtension->map, pVBoxFobx->hFile,493 vboxRC = VbglR0SfLock(&pDeviceExtension->hgcmClient, &pNetRootExtension->map, pVBoxFobx->hFile, 494 494 LowIoContext->ParamsFor.Locks.ByteOffset, LowIoContext->ParamsFor.Locks.Length, fu32Lock); 495 495 … … 524 524 525 525 /* Do the actual flushing of file buffers */ 526 vboxRC = vboxCallFlush(&pDeviceExtension->hgcmClient, &pNetRootExtension->map, pVBoxFobx->hFile);526 vboxRC = VbglR0SfFlush(&pDeviceExtension->hgcmClient, &pNetRootExtension->map, pVBoxFobx->hFile); 527 527 528 528 Status = VBoxErrorToNTStatus(vboxRC); … … 565 565 pObjInfo->cbObject = pNewFileSize->QuadPart; 566 566 567 vboxRC = vboxCallFSInfo(&pDeviceExtension->hgcmClient, &pNetRootExtension->map, pVBoxFobx->hFile,567 vboxRC = VbglR0SfFsInfo(&pDeviceExtension->hgcmClient, &pNetRootExtension->map, pVBoxFobx->hFile, 568 568 SHFL_INFO_SET | SHFL_INFO_SIZE, &cbBuffer, (PSHFLDIRINFO)pObjInfo); 569 569 570 Log(("VBOXSF: vbsfSetEndOfFile: vboxCallFSInfo returned %Rrc\n", vboxRC));570 Log(("VBOXSF: vbsfSetEndOfFile: VbglR0SfFsInfo returned %Rrc\n", vboxRC)); 571 571 572 572 Status = VBoxErrorToNTStatus(vboxRC); 573 573 if (Status == STATUS_SUCCESS) 574 574 { 575 Log(("VBOXSF: vbsfSetEndOfFile: vboxCallFSInfo new allocation size = %RX64\n",575 Log(("VBOXSF: vbsfSetEndOfFile: VbglR0SfFsInfo new allocation size = %RX64\n", 576 576 pObjInfo->cbAllocated)); 577 577
Note:
See TracChangeset
for help on using the changeset viewer.