Changeset 63078 in vbox
- Timestamp:
- Aug 5, 2016 11:10:21 PM (8 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/SharedFolders/driver
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/file.c
r63077 r63078 588 588 } 589 589 590 NTSTATUS VBoxMRxExtendStub(IN OUT struct _RX_CONTEXT * RxContext, IN OUT PLARGE_INTEGER pNewFileSize, 591 OUT PLARGE_INTEGER pNewAllocationSize) 590 /** See PMRX_EXTENDFILE_CALLDOWN in ddk/mrx.h 591 * 592 * Documentation says it returns STATUS_SUCCESS on success and an error 593 * status on failure, so the ULONG return type is probably just a typo that 594 * stuck. 595 */ 596 ULONG NTAPI VBoxMRxExtendStub(IN OUT struct _RX_CONTEXT * RxContext, IN OUT PLARGE_INTEGER pNewFileSize, 597 OUT PLARGE_INTEGER pNewAllocationSize) 592 598 { 593 599 RT_NOREF(RxContext); … … 604 610 return STATUS_SUCCESS; 605 611 } 612 -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c
r62522 r63078 408 408 UNICODE_STRING VBoxMRxName; 409 409 UNICODE_STRING UserModeDeviceName; 410 PMRX_VBOX_DEVICE_EXTENSION pDeviceExtension ;410 PMRX_VBOX_DEVICE_EXTENSION pDeviceExtension = NULL; 411 411 ULONG i; 412 412 int vboxRC; … … 480 480 { 481 481 Log(("VBOXSF: DriverEntry: RxRegisterMinirdr failed: 0x%08X\n", Status )); 482 try_return( Status);482 try_return((void)Status); 483 483 } 484 484 … … 512 512 Log(("VBOXSF: DriverEntry: IoCreateSymbolicLink: 0x%08X\n", 513 513 Status)); 514 try_return( Status);514 try_return((void)Status); 515 515 } 516 516 Log(("VBOXSF: DriverEntry: Symbolic link created.\n")); … … 536 536 } 537 537 538 AssertPtr(pDeviceExtension); 538 539 pDeviceExtension->hgcmClient = hgcmClient; 539 540 … … 571 572 NTSTATUS Status; 572 573 MRX_VBOX_STATE CurrentState; 574 RT_NOREF(RxContext, RxDeviceObject); 573 575 574 576 Log(("VBOXSF: MRxStart\n")); … … 597 599 NTSTATUS VBoxMRxStop(PRX_CONTEXT RxContext, IN OUT PRDBSS_DEVICE_OBJECT RxDeviceObject) 598 600 { 601 RT_NOREF(RxContext, RxDeviceObject); 599 602 Log(("VBOXSF: MRxStop\n")); 600 603 return STATUS_SUCCESS; … … 1462 1465 NTSTATUS VBoxMRxSetEaInfo(IN OUT PRX_CONTEXT RxContext) 1463 1466 { 1467 RT_NOREF(RxContext); 1464 1468 Log(("VBOXSF: MRxSetEaInfo\n")); 1465 1469 return STATUS_NOT_IMPLEMENTED; … … 1468 1472 NTSTATUS VBoxMRxFsCtl (IN OUT PRX_CONTEXT RxContext) 1469 1473 { 1474 RT_NOREF(RxContext); 1470 1475 Log(("VBOXSF: MRxFsCtl\n")); 1471 1476 return STATUS_INVALID_DEVICE_REQUEST; … … 1474 1479 NTSTATUS VBoxMRxNotifyChangeDirectory(IN OUT PRX_CONTEXT RxContext) 1475 1480 { 1481 RT_NOREF(RxContext); 1476 1482 Log(("VBOXSF: MRxNotifyChangeDirectory\n")); 1477 1483 return STATUS_NOT_IMPLEMENTED; … … 1480 1486 NTSTATUS VBoxMRxQuerySdInfo(IN OUT PRX_CONTEXT RxContext) 1481 1487 { 1488 RT_NOREF(RxContext); 1482 1489 Log(("VBOXSF: MRxQuerySdInfo\n")); 1483 1490 return STATUS_NOT_IMPLEMENTED; … … 1486 1493 NTSTATUS VBoxMRxSetSdInfo(IN OUT struct _RX_CONTEXT * RxContext) 1487 1494 { 1495 RT_NOREF(RxContext); 1488 1496 Log(("VBOXSF: MRxSetSdInfo\n")); 1489 1497 return STATUS_NOT_IMPLEMENTED; … … 1495 1503 NTSTATUS WmlTinySystemControl(IN OUT PVOID pWmiLibInfo, IN PVOID pDevObj, IN PVOID pIrp) 1496 1504 { 1505 RT_NOREF(pWmiLibInfo, pDevObj, pIrp); 1497 1506 return STATUS_WMI_GUID_NOT_FOUND; 1498 1507 } … … 1500 1509 ULONG WmlTrace(IN ULONG ulType, IN PVOID pTraceUuid, IN ULONG64 ullLogger, ...) 1501 1510 { 1511 RT_NOREF(ulType, pTraceUuid, ullLogger); 1502 1512 return STATUS_SUCCESS; 1503 1513 } -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.h
r63073 r63078 155 155 NTSTATUS VBoxMRxNotifyChangeDirectory(IN OUT PRX_CONTEXT RxContext); 156 156 157 NTSTATUSVBoxMRxExtendStub(IN OUT struct _RX_CONTEXT * RxContext,158 IN OUT PLARGE_INTEGER pNewFileSize,159 OUT PLARGE_INTEGER pNewAllocationSize);157 ULONG NTAPI VBoxMRxExtendStub(IN OUT struct _RX_CONTEXT * RxContext, 158 IN OUT PLARGE_INTEGER pNewFileSize, 159 OUT PLARGE_INTEGER pNewAllocationSize); 160 160 NTSTATUS VBoxMRxCompleteBufferingStateChangeRequest(IN OUT PRX_CONTEXT RxContext, 161 161 IN OUT PMRX_SRV_OPEN SrvOpen,
Note:
See TracChangeset
for help on using the changeset viewer.