Changeset 63077 in vbox for trunk/src/VBox
- Timestamp:
- Aug 5, 2016 10:53:36 PM (8 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/SharedFolders/driver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/file.c
r63073 r63077 237 237 int vboxRC; 238 238 239 #ifdef LOG_ENABLED 239 240 BOOLEAN AsyncIo = BooleanFlagOn(RxContext->Flags, RX_CONTEXT_FLAG_ASYNC_OPERATION); 241 #endif 240 242 LONGLONG FileSize; 241 243 … … 357 359 int vboxRC; 358 360 361 #ifdef LOG_ENABLED 359 362 BOOLEAN AsyncIo = BooleanFlagOn(RxContext->Flags, RX_CONTEXT_FLAG_ASYNC_OPERATION); 363 #endif 360 364 LONGLONG FileSize; 361 365 … … 497 501 } 498 502 499 NTSTATUS VBoxMRxCompleteBufferingStateChangeRequest(IN OUT PRX_CONTEXT RxContext, 500 IN OUT PMRX_SRV_OPEN SrvOpen,501 IN PVOID pContext) 502 { 503 NTSTATUS VBoxMRxCompleteBufferingStateChangeRequest(IN OUT PRX_CONTEXT RxContext, IN OUT PMRX_SRV_OPEN SrvOpen, 504 IN PVOID pvContext) 505 { 506 RT_NOREF(RxContext, SrvOpen, pvContext); 503 507 Log(("VBOXSF: MRxCompleteBufferingStateChangeRequest: not implemented\n")); 504 508 return STATUS_NOT_IMPLEMENTED; … … 584 588 } 585 589 586 NTSTATUS VBoxMRxExtendStub(IN OUT struct _RX_CONTEXT * RxContext, 587 IN OUT PLARGE_INTEGER pNewFileSize, 590 NTSTATUS VBoxMRxExtendStub(IN OUT struct _RX_CONTEXT * RxContext, IN OUT PLARGE_INTEGER pNewFileSize, 588 591 OUT PLARGE_INTEGER pNewAllocationSize) 589 592 { 593 RT_NOREF(RxContext); 594 590 595 /* Note: On Windows hosts vbsfSetEndOfFile returns ACCESS_DENIED if the file has been 591 596 * opened in APPEND mode. Writes to a file will extend it anyway, therefore it is -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/info.c
r62522 r63077 1471 1471 case FilePositionInformation: 1472 1472 { 1473 #ifdef LOG_ENABLED 1473 1474 PFILE_POSITION_INFORMATION pInfo = (PFILE_POSITION_INFORMATION)pInfoBuffer; 1474 1475 1475 Log(("VBOXSF: MrxSetFileInfo: FilePositionInformation: CurrentByteOffset = 0x%RX64. Unsupported!\n", 1476 1476 pInfo->CurrentByteOffset.QuadPart)); 1477 #endif 1477 1478 1478 1479 Status = STATUS_INVALID_PARAMETER; … … 1523 1524 case FileLinkInformation: 1524 1525 { 1526 #ifdef LOG_ENABLED 1525 1527 PFILE_LINK_INFORMATION pInfo = (PFILE_LINK_INFORMATION )pInfoBuffer; 1526 1527 1528 Log(("VBOXSF: MrxSetFileInfo: FileLinkInformation: ReplaceIfExists = %d, RootDirectory = 0x%x = [%.*ls]. Not implemented!\n", 1528 1529 pInfo->ReplaceIfExists, pInfo->RootDirectory, pInfo->FileNameLength / sizeof(WCHAR), pInfo->FileName)); 1530 #endif 1529 1531 1530 1532 Status = STATUS_NOT_IMPLEMENTED; … … 1534 1536 case FileRenameInformation: 1535 1537 { 1538 #ifdef LOG_ENABLED 1536 1539 PFILE_RENAME_INFORMATION pInfo = (PFILE_RENAME_INFORMATION)pInfoBuffer; 1537 1538 1540 Log(("VBOXSF: MrxSetFileInfo: FileRenameInformation: ReplaceIfExists = %d, RootDirectory = 0x%x = [%.*ls]\n", 1539 1541 pInfo->ReplaceIfExists, pInfo->RootDirectory, pInfo->FileNameLength / sizeof(WCHAR), pInfo->FileName)); 1542 #endif 1540 1543 1541 1544 Status = vbsfRename(RxContext, FileRenameInformation, pInfoBuffer, RxContext->Info.Length); … … 1560 1563 NTSTATUS VBoxMRxSetFileInfoAtCleanup(IN PRX_CONTEXT RxContext) 1561 1564 { 1565 RT_NOREF(RxContext); 1562 1566 Log(("VBOXSF: MRxSetFileInfoAtCleanup\n")); 1563 1567 return STATUS_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.