Changeset 78338 in vbox for trunk/src/VBox/Additions/WINNT/SharedFolders/driver/file.cpp
- Timestamp:
- Apr 26, 2019 10:08:31 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/file.cpp
r78329 r78338 555 555 556 556 NTSTATUS vbsfNtSetEndOfFile(IN OUT struct _RX_CONTEXT * RxContext, 557 IN OUT PLARGE_INTEGER pNewFileSize, 558 OUT PLARGE_INTEGER pNewAllocationSize) 557 IN uint64_t cbNewFileSize) 559 558 { 560 559 NTSTATUS Status = STATUS_SUCCESS; … … 570 569 int vrc; 571 570 572 Log(("VBOXSF: vbsfNtSetEndOfFile: New size = %RX64 (%p), pNewAllocationSize = %p\n",573 pNewFileSize->QuadPart, pNewFileSize, pNewAllocationSize));571 Log(("VBOXSF: vbsfNtSetEndOfFile: New size = %RX64\n", 572 cbNewFileSize)); 574 573 575 574 Assert(pVBoxFobx && pNetRootExtension); … … 584 583 585 584 RtlZeroMemory(pObjInfo, cbBuffer); 586 pObjInfo->cbObject = pNewFileSize->QuadPart;585 pObjInfo->cbObject = cbNewFileSize; 587 586 588 587 vrc = VbglR0SfFsInfo(&g_SfClient, &pNetRootExtension->map, pVBoxFobx->hFile, … … 597 596 pObjInfo->cbAllocated)); 598 597 599 /* Return new allocation size */ 600 pNewAllocationSize->QuadPart = pObjInfo->cbAllocated; 598 /** @todo update the file stats! */ 601 599 } 602 600
Note:
See TracChangeset
for help on using the changeset viewer.