Changeset 40313 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Mar 1, 2012 2:27:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c
r40308 r40313 885 885 capFobx)); 886 886 887 Log(("VBOXSF: MRxDevFcbXXXControlFile: IOCTL_MRX_VBOX_START: process: current 0x%X, RDBSS 0x%X\n", 888 IoGetCurrentProcess(), RxGetRDBSSProcess())); 889 887 890 switch (VBoxMRxState) 888 891 { 889 892 case MRX_VBOX_STARTABLE: 890 893 891 /* The correct sequence of start events issued by the workstation 892 * service would have avoided this. We can recover from this 893 * by actually invoking RxStartMiniRdr. 894 */ 894 Log(("VBOXSF: MRxDevFcbXXXControlFile: MRX_VBOX_STARTABLE\n")); 895 895 896 if (capFobx) 896 897 { … … 899 900 } 900 901 901 /* Set global VBoxMRxState variable to MRX_VBOX_STARTABLE and fall through to the next case. */ 902 InterlockedCompareExchange((PLONG) & VBoxMRxState, MRX_VBOX_START_IN_PROGRESS, MRX_VBOX_STARTABLE); 903 904 /* Lack of break is intentional. */ 902 InterlockedCompareExchange((PLONG)&VBoxMRxState, MRX_VBOX_START_IN_PROGRESS, MRX_VBOX_STARTABLE); 905 903 906 904 case MRX_VBOX_START_IN_PROGRESS: 907 905 Status = RxStartMinirdr(RxContext, &RxContext->PostRequest); 906 907 Log(("VBOXSF: MRxDevFcbXXXControlFile: MRX_VBOX_START_IN_PROGRESS RxStartMiniRdr Status 0x%08X, post %d\n", 908 Status, RxContext->PostRequest)); 908 909 909 910 if (Status == STATUS_REDIRECTOR_STARTED) 910 911 { 911 912 Status = STATUS_SUCCESS; 913 break; 912 914 } 913 else if (Status == STATUS_PENDING && RxContext->PostRequest == TRUE) 915 916 if ( Status == STATUS_PENDING 917 && RxContext->PostRequest == TRUE) 914 918 { 919 /* Will be restarted in RDBSS process. */ 915 920 Status = STATUS_MORE_PROCESSING_REQUIRED; 921 break; 916 922 } 917 923
Note:
See TracChangeset
for help on using the changeset viewer.