Changeset 4301 in vbox for trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp
- Timestamp:
- Aug 23, 2007 8:09:04 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp
r4145 r4301 33 33 #include <stdio.h> 34 34 #include <VBox/VBoxGuestLib.h> 35 #include <VBoxGuestInternal.h> 35 36 36 37 /******************************************************************************* … … 76 77 #pragma alloc_text (PAGE, VBoxGuestShutdown) 77 78 #pragma alloc_text (PAGE, VBoxGuestNotSupportedStub) 78 /* Note: at least the isr handler should be in non-pag able memory! */79 /* Note: at least the isr handler should be in non-pageable memory! */ 79 80 /*#pragma alloc_text (PAGE, VBoxGuestDpcHandler) 80 81 #pragma alloc_text (PAGE, VBoxGuestIsrHandler) */ … … 744 745 } break; 745 746 #endif /* VBOX_HGCM */ 747 748 #ifdef VBOX_WITH_VRDP_SESSION_HANDLING 749 case IOCTL_VBOXGUEST_ENABLE_VRDP_SESSION: 750 { 751 if (!pDevExt->fVRDPEnabled) 752 { 753 KUSER_SHARED_DATA *pSharedUserData = (KUSER_SHARED_DATA *)KI_USER_SHARED_DATA; 754 755 pDevExt->fVRDPEnabled = TRUE; 756 pDevExt->ulOldActiveConsoleId = pSharedUserData->ActiveConsoleId; 757 pSharedUserData->ActiveConsoleId = 2; 758 } 759 break; 760 } 761 762 case IOCTL_VBOXGUEST_DISABLE_VRDP_SESSION: 763 { 764 if (pDevExt->fVRDPEnabled) 765 { 766 KUSER_SHARED_DATA *pSharedUserData = (KUSER_SHARED_DATA *)KI_USER_SHARED_DATA; 767 768 pDevExt->fVRDPEnabled = FALSE; 769 pSharedUserData->ActiveConsoleId = pDevExt->ulOldActiveConsoleId; 770 pDevExt->ulOldActiveConsoleId = 0; 771 } 772 break; 773 } 774 #endif 746 775 747 776 default:
Note:
See TracChangeset
for help on using the changeset viewer.